Checkpoint work on the key stream muxer.

Too hot to think.
The stream muxer works with integer streams, though it's not pretty.
Started implementing the endpoint for bucket key emitting.
Check for done on the int mock stream immediately after writing a
value, so we can better imitate the behavior of key streams.
Wrote some more tests.