class Async::HTTP::Protocol::HTTP10

def write_body(body, chunked = true)

def write_body(body, chunked = true)
	buffer = String.new
	body.each{|chunk| buffer << chunk}
		
	@stream.write("Content-Length: #{buffer.bytesize}\r\n\r\n")
	@stream.write(buffer)
end