Fix cloaks to be little-endian (like normal hosts) and to have the higher-order parts be consistent.

For example, the "1.2" in both 1.2.3.4 and 1.2.11.12 will be the same, even though the lower-order bytes are different.