#36 BufferInputStream.read doesn't return -1 to indicate the end of the
stream
#37 ByteArrayCodec.prepend doesn't work