Thank you so much for sharing this, it very much helped me resolve the same issue with BOSH. We are using EJabberD XML RPC.
I did not, however, need to set the max requests from 10 to 1, leaving them at 10 still worked just fine for our application.
I do now have a significant code base change from the 3.0.0 standard XIFF release, and would like to make a fork or possibly submit my changes to be considered for another release... 3.0.1?
Is XIFF dead? there haven't been any new releases in years.