code: @Nullable
  	@SuppressWarnings("unchecked")
  	public static <C> C findConfiguration(Class<C> clazz,
  										  @Nullable ChannelHandler handler) {
  		Objects.requireNonNull(clazz, "configuration type");
  		if (handler instanceof BootstrapPipelineHandler) {
  			BootstrapPipelineHandler rph =
  					(BootstrapPipelineHandler) handler;
  			for (PipelineConfiguration aRph : rph) {
  				if (clazz.isInstance(aRph.consumer)) {
  					return (C) aRph.consumer;
  				}
  				if (clazz.isInstance(aRph.deferredConsumer)) {
  					return (C) aRph.deferredConsumer;
  				}
  			}
  		}
  		return null;
  	}
docs: Find the given typed configuration consumer or return null;
  
  @param clazz the type of configuration to find
  @param handler optional handler to scan
  @param <C> configuration consumer type
  
  @return a typed configuration or null