added SECURE_PROXY_SSL_HEADER so that the app can run properly behind a ...

...proxy with upstream SSL termination