Handling possible out-of-bounds exception when parsing RFC3966 format (#1690)
* Handling possible out-of-bounds exception that would be thrown in C++
and Java if a number with a phone-context tag is entered (RFC3966
format) but no actual phone context.