Setup base for IRC connection.