[9.11] IO::Socket::INET6 has been replaced by IO::Socket::IP
IO::Socket::INET6 is no longer being maintained and its functionality has been replaced by IO::Socket::IP.
(cherry picked from commit d1983adc) (cherry picked from commit fff8de84)
Backport of MR !8910 (merged).