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

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.