clone from http://code.google.com/p/libphonenumber/