Allow X-Forwarded-For Addresses

The secure infrastructure uses pound to proxy HTTPS requests to a local
web server. Chat should now prefer proxied IP addresses if provided over
the address detected by the web server (127.0.0.1 for pound).