Attempt to fix exception with ipv6 addresses (issue #1).