Ipv6

IPV6 supported and jgeskens's patch.