added X-Forwarded-Proto header