scripts/mosh: Allow IO::Socket::INET6 as an alternative to IO::Socket::IP

Some systems have IO::Socket::INET6 preinstalled, so we might as well accept either.