Set correct user IP from X-Real-IP header