SOLR-902 -- FastInputStream#read(byte b[], int off, int len) gives incorrect results when amount left to read is less than buffer size