implement basic ipv6 support (probably for linux only)