[libvirt] [PATCH 10/12] Add a test case for the socket APIs