Add support for specifying ipv6 or ipv4
dtaht added -4 & -6 options to test over IPv4 & IPv6