code: protected void reconfigureUpstream(ChannelPipeline pipeline, Handshake handshake) {
          pipeline.replace( "http-decoder", "websockets-decoder", handshake.newDecoder() );
          ChannelHandler[] additionalHandlers = handshake.newAdditionalHandlers();
          String currentTail = "websockets-decoder";
          for (ChannelHandler each : additionalHandlers) {
              String handlerName = "additional-" + each.getClass().getSimpleName();
              pipeline.addAfter( currentTail, handlerName, each );
              currentTail = handlerName;
          }
      }
docs: Remove HTTP handlers, replace with web-socket handlers.
  
  @param pipeline The pipeline to reconfigure.