convert preferIPv4 boolean variable to ipversion tri-state: preferv6 (default), preferv4, v4.  Still not sure if this works or if it works in the opposite sense I'm expecting it to work in.