   res.send {error: "Request timed out"}
   @emit "response", req, res
   return
-
-default404 = (res) ->
-  res.status 404
-  res.end()

  setProto res, Response

  # The unhandled request handler.
  req.next = default404.bind req, res

  # Prevent long-running requests.
  if app._timeout > 0

  maxHeaders: "number?"
  timeout: "number?"
  onError: "function?"
  onUnhandled: "function?"

setDefaults = wrapDefaults
  secure: false
