[PATCH] virNetSocketCheckProtocols: Actually check bool value