The FlashBuffer constructor that takes an InputStream
does not fully read the InputStream into its internal
This is because the buffer is initially allocated 10
bytes larger than what available() returns, and so for
a high latency InputStream the check for
(size==buf.length) is false and we never read the rest
of the stream.