Add an EditableInputStream

and its unit test