added support for a remote address being set by a load balancer.