Fixes #6012: Gets correct client IP behind proxy (1.8)