d0e64d3a66
`InputStream.available()` is implementation-dependent, should never assume it will return the total number of bytes in the stream.