[libvirt] [PATCH 1/2] socket: preserve real errno when socket/bind calls fail