Set x-forwarded-proto And x-forwarded-port For http And https
- Setting these should not be dependent on the Referer header