io.streams.document: Add unit tests.
io.streams.document: Fix read-until, add tests.
modern.parser: Transitioning to document streams.