get rid of ResettableByteArrayOutputStream
fix test typos
choose a saner (?) value for deflate decompression temp buffers
improve docs