'Write DATA to the underlying SSL channel.  Returns
number of bytes of DATA actually transmitted.'

def write(self, data):

    self._checkClosed()
    if (not self._sslobj):
        raise ValueError('Write    on    closed    or    unwrapped    SSL    socket.')
    return self._sslobj.write(data)
