set remote IP from X-Forwarded-For header