Fix HTTPS detection under Windows IIS (#2318118)