Replaced uint128 with hi/lo 64 bit integers.

Added check to prevent accidentally turning an IPv6 address into something else.
Fixed mixing up different network protocol addresses.
Cosmetics.
Followed changes.