Updating it to use the standard getClientIp()