Massive rework to get keep-alive sockets, server-sent events, and optional response body reading.