Added get_client_ip helper function