selectorThread.setPipelineClassName(PortUnificationPipeline.class.getName());
selectorThread.initEndpoint();
PortUnificationPipeline puPipeline = (PortUnificationPipeline) selectorThread.getProcessorPipeline();
puPipeline.addProtocolFinder(new WSTCPProtocolFinder());
puPipeline.addProtocolFinder(new TlsProtocolFinder());
puPipeline.addProtocolFinder(new HttpRedirectorProtocolFinder());
WSTCPProtocolHandler protocolHandler = new WSTCPProtocolHandler();
WSTCPProtocolHandler.setIncomingMessageProcessor(messageProcessor);