Use clientIP() instead of reading request headers in order to get
the correct IP address.