Added some debugging messages. Added irc_connection_exception event to replace exceptionhandler in irc_connect options.
Implemented irc_connected event.