test__socket_dns.py: do not compare IPv6 addresses