Ruby 2.0 introduces IPAddr::InvalidAddressError