This got somehow out of sight for pretty long, but looking now at combined diff it seems that order of code execution changes and can have significant impact. As I understand, the loop with `t_send_branch()` is now executed before `onreply_route` handling. If I got it right, that can have unwanted effects, like sending out new branches before handling the response.
This PR needs proper review and testing before merging.