We should also support the old (insecure) mechanism that proxies HTTPS over plain HTTP. I discussed it with Dan and we propose to use an argument in the proxy url to indicate that the old mechanism should be used.

For example, to use the new (recommended) mechanism the proxy url would be:

    http://localhost:8080

While for using the new mechanism it would be:

    http://localhost:8080?noconnect

This `if` would then check both the scheme and the presence of `noconnect` argument.