If the request was forwarded by a proxy or load balancer we need to use the protocol and the port of the forwarded request.