envelope-to support, xmpp error messages logging, notes