SONAR-2296 Sonar behind a HTTPS reverse proxy sometimes fall back to HTTP