code: function (request, response) {
      var path = url.parse(request.url, false).pathname;
  
      if (path === '/') {
        // A base request just prints out the current Imagine version
        response.writeHead(200, { 'content-type': 'application/json' });
        response.end(JSON.stringify({ version: '0.1.0' }));
      } else {
        // All other requests are passed to the handler
        new RequestHandler(request, response).handle();
      }
    }
docs: Handle an individual request