'Connect using different SSL protocols'

def connect(self):

    for protocol in _protocols:
        ProxyHTTPConnection.connect(self)
        self.sock = self.make_ssl_aware(self.sock, protocol)
        if (self.sock is not None):
            break
    else:
        msg = 'Unable    to    create    a    proxied    SSL    connection'
        raise HTTPRequestException(msg)
