qemu-char: Convert socket backend to QAPI