Added X-Forwarded-For support.