class Protocol::HTTP1::Connection

def initialize(stream, persistent: true, state: :idle, maximum_line_length: DEFAULT_MAXIMUM_LINE_LENGTH)

@parameter state [Symbol] the initial state of the connection, typically idle.
@parameter persistent [Boolean] whether the connection is persistent.
@parameter stream [IO] the stream to read and write data from.

Initialize the connection with the given stream.
def initialize(stream, persistent: true, state: :idle, maximum_line_length: DEFAULT_MAXIMUM_LINE_LENGTH)
	@stream = stream
	
	@persistent = persistent
	@state = state
	
	@count = 0
	
	@maximum_line_length = maximum_line_length
end