Fixed X-Forwarded-For parsing