Its no need for that , it returns the version of the whatsapp client i think , its not used anywhere (user-agent maybe ... useless)
public void login() throws IOException, FunXMPP.LoginFailureException, FunXMPP.CorruptStreamException { this.out.streamStart(this.connection.domain, this.connection.resource); System.err.println("sent stream start"); sendFeatures(); System.err.println("sent features"); sendAuth(); System.err.println("sent auth"); this.in.streamStart(); System.err.println("read stream start"); String challengeData = readFeaturesAndChallenge(); System.err.println("read features and challenge"); sendResponse(challengeData); System.err.println("sent response"); readSuccess(); }