def quit(self, message=None):
        """Quit from the server."""
        if message is None:
            message = 'Quit'

        if self.connected:
            self.send('QUIT', params=[message])
Quit from the server.