Fix version number logic.
Moving to IPv[46] agnostic API part one.