'Send a command to the server.'

def putcmd(self, cmd, args=''):

    if (args == ''):
        str = ('%s%s' % (cmd, CRLF))
    else:
        str = ('%s    %s%s' % (cmd, args, CRLF))
    self.send(str)
