Add support for X-Forwarded-Proto