I’m not sure if you are reporting a issue with the library or just stating the fact that having a extra roundtrip by using legacy session establishing makes the login take longer.
I am jjust stating a fact that… if the legacy session is enabled then all the packet lifecycle like sending presence, receiving messages, sending a ping… all are affected with a lesser performance.
That’s news to me, and I can hardly imaginable that this is a side effect (which is caused within Smack). On the other hand, I can’t rule it out. What’s needed is further information and analysis