Fix HTTPS stuff.