forked from Google's libphonenumber (https://code.google.com/p/libphonenumber/)