Smack

The authentification should use the Connection#sendPacket method and work transparent with packets and packet listeners.