Add support for X-Real-IP and X-Forwarded-For