Simple SSL improvements to detect if they are using the HTTP_X_FORWARDED...

..._PRONTO and is set to https. Used by CloudFlare and many web hosts under clustered hosting environments.

fixes #5561