Gracefully turn protocol-relative URLs (//site/foo.html) into https: URLs