     bestMatch.url
 
 module.exports = Hem
+

        else
          console.log "ERROR: The folder #{value} does not exist."
          process.exit(1)
      else
        # setup proxy
        console.log "Proxy requests from #{url} to #{value.host}" if argv.v
        app.use(url, @createRoutingProxy(value)) if value.host

    # start server
    http.createServer(app).listen(@options.server.port, @options.server.host)


  options:
    server:
      port: 9294
      host: 'localhost'

  constructor: (options = {}) ->
    @options[key] = value for key, value of options
