Prevent potential security issue by incorrectly getting the client IP address