Added IRC connection registration and deregistration