'Send a message to the client. *message* should be convertable to a
string; unicode objects should be encodable as utf-8.'

def send(self, message):

    if (not self.closed):
        self.protocol.write(message)
