[libvirt] [PATCH 08/23] rpc: refactor RPC service constructors to share more code