Moved our hacky, c++14 equal to algorithm.tcc.
Implemented the rest of buffered_stream_c, unit tests.