Making env('HTTPS') respect HTTP_X_FORWARDED_PROTO