'Send data across the wire.
Args:
command (AMP Command): A protocol send command.
sessid (int): A unique Session id.
Returns:
deferred (deferred or None): A deferred with an errback.
Notes:
Data will be sent across the wire pickled as a tuple
(sessid, kwargs).'

def send_data(self, command, sessid, **kwargs):

    return self.callRemote(command, packed_data=dumps((sessid, kwargs))).addErrback(self.errback, command.key)
