Streaming prototype update

Enhanced CoFunction and connectors functionality, refactored examples. Several minor bugfixes.
Okay, this file is probably correct.