[communication] Implement middleware and 1-way callback
Merge pull request #1 from fyraimar/dev

[communication] Implement middleware and 1-way callback