Converts IPv4 addresses to/from a number