The goal is assumed to write the reply to current_output preceded
by an HTTP header, closed by a blank line. The header must
contain a Content-type: <type> line. It may optionally contain a
line Transfer-encoding: chunked to request chunked encoding.
Options:
| Close | - Unified to one of close, Keep-Alive,
spawned(ThreadId) or switch_protocol(:Goal, +SwitchOptions) |