fixing UtilsTest.IPAddress for different platforms' IPv6 lookup handling