Check for callers URL protocol incorrect

Check for callers URL protocol incorrectly misses that on some systems HTTP systems may return $_SERVER['HTTPS'] == 'off'

- IIS ISAPI
- NginX 'fastcgi_param HTTPS off;'