IPv6 support

The commits in my repo adds IPv6 support, shouldn't hopefully break things...