   res.writeHead(200);
   res.write(HeaderText, "binary")
   res.end()
+
+takeoff = (req, res, next) =>
+  (new Cookies(req, res)).set "Final-Destination", req.originalUrl
+
+land = (req, res, next) =>
+  res.redirect (new Cookies(req, res)).get "Final-Destination"
+
+  ###
+  res.writeHead(200);
+  res.write("<body>Land"+req.originalUrl+"</body>", "binary")
+  res.end()
+  ###
 
 
 class InternalDomain


  callback: () =>
    (req, res, next) =>
      passport.authenticate(req.authproxy_domain, { successRedirect: '/', failureRedirect: '/authproxy/google' })(req, res, next)

  checkDomain: =>
    (req, res, next) =>




httpProxy = require('http-proxy')
passport = require('passport')
MixedStrategy = require('./mixed_strategy')
Cookies = require('cookies')

HeaderText = "<body>header text </body>"

