Added X-Forwarded-Host and X-Forwarded-Port for SSL issues.