Adding support for proxies (X-Forwarded-For)