IPv6 support

Implement IPv6 support.