Respecting X_FORWARDED_{FOR,PROTO} HTTP headers.