[libvirt] [PATCH v3 02/13] Implement common keepalive handling