'Send data on the socket.
Store a copy in the send queue.
Arguments:
data -- String value to write.'

def send(self, data):

    with self.send_queue_lock:
        self.send_queue.put(data)
    return self.socket.send(data)
