* better ipv6 detection
+ tests