1.2.0 - return empty buffers for empty streams, support streams that write last chunk with end() (#13, #14)