Buffer and validate a readable stream