'Return a string identifying the protocol version used by the
current SSL channel, or None if there is no established channel.'

def version(self):

    if (self._sslobj is None):
        return None
    return self._sslobj.version()
