Migrating to Smack 4.x