[libvirt PATCH v2 34/56] rpc: convert RPC client to use GMainLoop instead of poll