I just pushed an updated version.
I made some assumptions (also noted as comments): 1. When parsing the `FROM` body, all leading whitespace up to `<` are removed when there is no Display Name. 2. We are modifying a valid SIP message (otherwise parser has already failed beforehand). Therefore, we can check confidently, if there is `<` at the start of the `FROM` body, the URI is enclosed in `< >`.
If this is not enough, we can always check the `FROM` body, if it contains `<` followed by `>`.