added irc connection class