add X-Forwarded-Ssl and X-Forwarded-Proto headers when accessing app through ssl

this allows the app to detect if the user accessed it using http or https