new ip2int functions from google, due to errors in old ones