fix for 1.9.3 or earlier without IPAddr::InvalidAddressError
v0.0.4