Copy of google's libphonenumber library