Use IO::Socket::IP for IPv6 support.