Allow running in CI environment that uses proxy
The CI tests won't work in an environment that uses proxies as the curl commands we use to detect that the HTTP(S) interface is disabled will go via the proxy and thus receive a different response than what we expect.
I think we can use curl --noproxy '*'
to avoid using a proxy for these scenarios. I wonder if there are other things that will break though...