Use a textual length when sending frames in stream

When sending messages in a stream, use a textual length frame so that the result is more debuggable, loggable etc. 
   
Fixes #1589

The magic "7" should get a commment.