code: function getProtocol(req) {
  	if (req.raw.socket.encrypted) return 'https';
  	const proto = req['X-Forwarded-Proto'] || '';
  	return proto ? proto.split(/\s*,\s*/)[0] : 'http';
  }
docs: MMP, 竟然没有个正常点的方式获取protocol