Remove empty statements
Enable PacketExtensions for IQs

This is actually only part one, i.e. with this commit if the user adds a
PacketExtension to an IQ it will be included in IQ.toXml(). Which was
previously only the case if the IQ subclass explicitly included packet
extensions.

The second part of the change is to change the IQ provider, so that
packet extensions are automatically parsed.

Cases where PacketExtensions are used for Message and IQ are slightly
changed. The IQ sublcass now only has a field with this
PacketExtension (see for example
bytestreams.ibb.packet.DataPacketExtension).

Also changed hoxt API: Removed unnecessary indirection and made the
API more Smack idiomatic.
Message Evenents is in smack-legacy and documentation/legacy
Don't use extending stanza addressing if not strictly necessary
Apply builder pattern to ConnectionConfiguration

Introducing a clean split between the constant connection configuration
parameters, which are now all in ConnectionConfiguration and the dynamic
connection state (e.g. hostAddresses) which are now in
AbstractXMPPConnection.

Also removed all arguments of login() since the username, password,
resource and callback handler need now to be configured via
ConnectionConfiguration.

Also remove documentation/extensions/messageevents.md, as it's already
in documentation/legacy
Add reply timeout to NoResponseException message
Fix END_DOCUMENT handling in XMPPTCPConnection

The 'break' statement in the END_DOCUMENT case should break the parsing
loop and not the switch/case within. Therefore we need to add a loop
label on break on that label.
Throw a NotConnectedException on disconnect()

if not connected. For consistent behavior, so that it is always
thrown. Previously it may be thrown or not.
Implemented MD5 just like the SHA1 util
Report not connected/authenticated when resumeable

Since c81cd3456146d788080923d0acc2ac7371f82c97 we can report not
connected/authenticated when the client is disconnected but the stream
could be resumed. The previous behavior caused some confusion among
the users.
Log a warning if the server didn't report SASL mechanisms

and return the empty list.
Set smWasEnableAtLeastOnce before sync point

to allow users to add stanza acknowledged listeners in
ConnectionListener.authenticated().
Add support for SASL failure 'text' elements

- Also move toString() into TopLevelStreamElement.
- Fix SASLFailure toXML xmlnsAttribute(NAMESPACE)
- Improve SASLFailure parsing
- And introduce XmlUnitUtils
Add support for SASL X-OAUTH2
Support for XEP-0141: Data Forms Layout.

Data Forms layouts are a part of Data Forms and implemented as
extensions, added to a Dataform. Fixes issue SMACK-612.