Added support for X-Forwarded-Proto, and  headers like CF-Connection-IP, Fastly-Client-IP, Incap-Client-IP, X-Real-IP and X-Forwarded-For for Client IP address check using reverse proxies.