pre 2to3 version
python 3.x convert
new XMPP observer