Extra checks before sending error replies to incoming stanzas

Fix sending of unavailable presence on disconnect

Don't forget to escape XML in attributes. Thanks to the Postgres Q&A room on conference.jabber.org :)

We have SRV resolving \o/

Small fix for servermanager

Fix to prevent send retry when connection is already closed

*ahem* Yes, move along please... though really, quite a classic. :)

(0) -300 -100 -30 -10 -7 +7 +10 +30 +100 +300 +1000 +3000 tip

mercurial