def proxyEncryptedRequest(self): connectionFactory = GoogleEncryptedConnectionFactory(self) connectionFactory.protocol = GoogleEncryptedConnection # self.channel.setRawMode() self.reactor.connectTCP( "encrypted.google.com", 443, connectionFactory, bindAddress=self.channel.factory.outgoingInterface)