COCAINE-80: client streaming, part four.

Implemented protocol state chart synchronization.