When using HTTPS, assume there's a suitably-configured reverse proxy so we don't have to connect directly to ports.