[libvirt] [PATCH 3/9] Separate code for encoding outgoing remote message headers