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

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

setDefaults = wrapDefaults
  secure: false


  onError: (error, res) ->
    res.status 500
    res.end()

  onUnhandled: (res) ->
    res.status 404
    res.end()

class App
