[lib/agsxmpp, Engine-XMPP] use nice C# Events instead of c style callbacks