Transfering messages between peers over XMPP