<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def quit(self, message=None):
 """Quit from the server."""

        if message is None:
            message = 'Quit'

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