Implementing a basic check for stream permissions for single messages

Fixes #464