'send(data)
Send \'data\' to remote.'

def send(self, data):

    if (self.compressor is not None):
        data = self.compressor.compress(data)
        data += self.compressor.flush(zlib.Z_SYNC_FLUSH)
    if (bytes != str):
        data = bytes(data, 'ASCII')
    self.sock.sendall(data)
