monkey patch for IPv6 parsing