Fixes #6012. Getting correct client IP behind proxy.