Thanks for the PR!
I couldn't find an explicit statement about CANCEL and Contact header in the RFC, I haven't searched much, though. IBM site claims it is a SHOULD NOT:
- https://www.ibm.com/support/pages/apar/PM77734
I will think how this could be added with some flexibility around it.