Allow HTTPS scheme

The `fix_scheme` function only allowed HTTP connections to the URL root,
preventing you from connecting via HTTPS.