Fixed determineClient to work with req.headers instead of process.env
Merge remote-tracking branch 'origin/port80'