implemented NAT detection for IPv6