Backport the following revisions from upstream relating to SIP transaction handling:

4420
4444
4446
4448
4630