modified C2SStreams API

related to #193