Consulting with verious perl people it seems that using IO::Socket::IP or IO::Socket::INET6 instead of IO::Socket::INET inside Net::HTTP should work. I have not so far been able to persuade upstream to try this largely because neither of those modules have a good record on windows.