Implementation based on http://dev.webinos.org/specifications/api/app2app.html