[Libguestfs] libnbd security: multiple flaws in TLS server certificate checking