Fixing security issue from get_client_ip