class Protocol::HTTP::Peer

def self.for(io)

@returns [Peer | Nil] The peer object, or nil if the remote address is not available.

Create a new peer object for the given IO object, using the remote address if available.
def self.for(io)
	if address = io.remote_address
		return new(address)
	end
end