Add options to allow force use IPv4 or IPv6 only