Yes you're right, this have to be fixed on the server side. I voted for it on eJabberd issue tracker and I will work with folks in my team to submit a patch for this server.
As for the Resource binding I was wrong, Smack does Compression before Resource Binding, but the issue with eJabberd really is the order between SASL and Compression.
Thanks again.