Inherit StreamReaderProtocol.

Preliminary works, tests don't pass at this time.