Stream: update documentation related to data flow.
Stream: properly close upstream.
Flow: documentation.
Connection: documenting the public API.
Connection: cosmetic changes.
Connection: emit 'receiving' only once per frame.
Stream tests: remove unused code.