If you want to use all of mIRC's identifiers, then why not just connect using mIRC's built-in IRC connection routines? mIRC already parses all the data from those IRC connections, so the events and identifiers already work. The whole point of sockets is so that users can parse the data from servers themselves, including servers that aren't for IRC. It doesn't make sense to duplicate something that mIRC already does.
-genius_at_work