[libvirt] [PATCH v5 14/23] src: rewrite remote protocol checker in Python