BUG-2825: switch to custom IPv6 parsing