module Protocol::HTTP::Body::Stream::Reader

def each(&block)

@yields {|chunk| ...} Each chunk of data.

Iterate over each chunk of data from the input stream.
def each(&block)
	return to_enum unless block_given?
	
	if @buffer
		yield @buffer
		@buffer = nil
	end
	
	while chunk = read_next
		yield chunk
	end
end