Fix HTTPS connections.