def connect_ssl(cls, user, password, endpoints,
                    ca_certs=None, validate=None):
        """
        Creates an SSL transport to the first endpoint (aserver) to which
        we successfully connect
        """
        if isinstance(endpoints, basestring):
            endpoints = [endpoints]
        transport = SingleEndpointTransport(
            SocketTransport.connect_ssl, endpoints, ca_certs=ca_certs,
            validate=validate)
        return cls(transport, user, password)
Creates an SSL transport to the first endpoint (aserver) to which
        we successfully connect