update REMOTE_ADDR to X-Forwarder-for when needed