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

[communication] Implement middleware and 1-way callback