Take X-Forwarded-Host HTTP header in consideration when constructing