 
   parts = req.url.split "?"
   req.path = parts[0]
-  req.query = qs.parse parts[1]
+  req.query = parseQuery parts[1]
 
   req.app = this
   req.res = res

  return 4443 if options.secure
  return 8000

onFinish = (res) ->
  deferred = Promise.defer()
  res.on "finish", deferred.resolve

now = require "performance-now"
log = require "log"
ip = require "ip"

Response = require "../response"
Request = require "../request"
