MDL-47214 General: Multiple IP addresses in X-Forwarded-For Fixed

Fixed getremoteaddr() function handle multiple IP addresses