ensure client_ip is never None