sprsquish/blather — pull request #95 by pmashchak (2012-06-13 12:56:48+00:00)
Title: Tigase stanza error

It quick and a bit dirty fix, but hope this will help fix the problem.
Tigase is really wide used XMPP server and I think you should not miss opportunity to support it also.
The problem was here with priority of child nodes in
It was looking like this:

Tigase can't create session before binding.
I solve this problem by sorting child nodes to move before request.
Maybe this is not the best way, but we found a root of the problem.