docs: public static String getScheme(HttpServletRequest request) {
  
  		String scheme = request.getHeader("X-Forwarded-Proto");
  		if (StringUtils.isNullOrEmptyTrimmed(scheme)) {
  			scheme = request.getScheme();
  		}
  
  		return scheme != null ? scheme.trim().toLowerCase() : null;
  	}