attempt to fix header parsing issues when request > BLOCK_SIZE