added support for reconnections
added UPLINK_CONNECTED/DISCONNECTED
added support for IRC_COMMANDS.SERVER_QUIT
added distinction between exits codes (connection was retried or not)
prevent reconnection loop
fixed bug after >1 reconnects