Pilgrim is a tiny HTTP kernel for chicken scheme. It presently doesn't implement very much of the spec, but holds few opinions; meaning the developer is free to use their own idiom and use pilgrim only as a thin layer of abstraction around http.
Pilgrim is designed only to wrap http request handling and serialization. It deliberately shies away from implementing anything vaguely like business or app logic.
- (start port handler) procedure
Begin the server, calling handler with a request and response object.
handler should modify and return the response object.