Fix for nonstandard HTTP_X_FORWARDED_PROTO header

Fixes https in loadbalancers.

https://github.com/opencart/opencart/issues/845

http://en.wikipedia.org/wiki/List_of_HTTP_header_fields#Common_non-standard_request_headers