Use _ipVersionToLen() wherever possible
Use _ipVersionToLen() wherever possible

The logic and error raising this function does for us was duplicated in
a lot of places. Use it whenever possible to remove duplicate code and
simplify behavior.

Signed-off-by: Dan McGee <a6e5737275ff1276377ee261739f3ee963671241@gmail.com>

sigma-random/python-ipy,dstam/python-ipy