Full support for IPv6

Hi Kristian.

Essentially this should work, but we have not tested it.
Rather than waiting for us, just give it a go and create an issue if you get any problems :slight_smile: