Connects to the IRC server with the options defined in `config`

def connect(self):
        '''
        Connects to the IRC server with the options defined in `config`
        '''
        self._connect()

        try:
            self._listen()
        except (KeyboardInterrupt, SystemExit):
            pass
        finally:
            self.close()