docs: def _setup_transport(self):
          """
          Wrap the socket in an SSL object, either the
          new Python 2.6 version, or the older Python 2.5 and
          lower version.
  
          """
          if HAVE_PY26_SSL:
              if hasattr(self, 'sslopts'):
                  self.sslobj = ssl.wrap_socket(self.sock, **self.sslopts)
              else:
                  self.sslobj = ssl.wrap_socket(self.sock)
              self.sslobj.do_handshake()
          else:
              self.sslobj = socket.ssl(self.sock)