fixed calculation hop on  x-ip-chain for getting client IP