More HTTP_X_FORWARDED_PROTO header work

https://github.com/opencart-ce/opencart-ce/commit/36260c439ee624bb1a9d77cc3e5f9a23a1bd3853#commitcomment-3924059