Messages coming from the IRC server are of type "chat"
The default type for message stanza is "normal"
Catch all exception produced by a received message (irc or xmpp)
The absence of a from attribute is an unrecoverable error, just ignore it
Send a stanza error when receiving bad stanzas
Whether this is a bad-request (missing XML attributes or elements) or an
internal server error.
Use the correct type of error
Send an error presence whenever a user tries to join an invalid room
Introduce two new bool, to know if the xmpp component should try to reconnect
If we never succeeded our connection+auth process, means we should probably
not attempt any-more, and just give up. If we ever did, this means a
reconnect is a good idea
Reconnected immediately to the XMPP whenever it closes the connection
Do not send data if we are connected, send it only once we actually are
Fix the CMakeLists.txt regarding ronn
Fix a bus error by not going above an array boundary
Provide details about what error the XML parser encountered
Avoid unnecessary copies by recv()ing data directly into the expat buffer
Use scatter/gather io with sendmsg to avoid concataning strings all the time
Do not try to connect to an irc server if we are connected or connecting
Add missing stdexcept includes