Add an ENABLE_PROXY_FIX config param. When set to True, insert the Werkzeug ProxyFix middleware. This middleware extracts and applies the X-Forwarded-* headers that are inserted by common proxies and load balancers. Fixes #1139.