Handle the "X-Forwarded-For" header parameter for discovering client IP address when request comes via proxy/loadbalancer.

Handle the "X-Forwarded-For" header parameter for discovering client IP address when request comes via proxy/loadbalancer.
We have class PipelineUtils - it makes sense to move this methods there.