Fixed issue #8682: Force SSL fails when HTTPS not directly handled by web server - patch by leexxx