add option for IPv6

define IPV6=1 to use this