Allow coroutines in before_request and after_request
Write EOF only once
Add exception handlers, allow before_request to short-circuit request handling

Fixes #2