Rest API to interface with XMPP Server