respect HTTP_X_FORWARDED_ http headers for request url construction