connects to ircnetwork, responds to pings, and joins channels