I know why :) lib/queuemanager.php, around line 178, in decode(): comment everything related to checks, because they breaking # daemon behavior. This function presumes, that we will pas JSON object, BUT xmpp passing an XML string. And here we go: "Bad frame" in logs :) When you comment checks, everything will work.