Add a test for when the contents of the input stream can't all be read at once
Fix for JavaInput duplicating data
Merge pull request #6 from regularfry/throttled-input

JavaInput doesn't duck-type to IO