'Send data by placing it in the send queue.
Arguments:
data -- String value to write.'

def send(self, data):

    if self.disconnected:
        raise socket.error
    self.send_queue.put(data)
    return len(data)
