docs: function is_https(req) {
  	if(req.headers && req.headers['x-forwarded-proto'] && req.headers['x-forwarded-proto'] === 'https') { return true; }
  	return (req && req.connection && req.connection.encrypted) ? true : false;
  }