Add support for IPv6 - further testing required.