qemu_chr_open_tcp: allow ipv4 and ipv6 options