add X-Forwarded-For header support on server