* Constructs a server using pipeline and a client communicating with it.
*
* @param pipeline a ChannelPipeline to put in the server.
*/
public PipelineTester(ChannelPipeline pipeline) {
LocalAddress address = new LocalAddress(LocalAddress.EPHEMERAL);
ServerBootstrap sb = new ServerBootstrap(new DefaultLocalServerChannelFactory());
pipeline.addLast("pipelineTesterEndpoint", new SimpleChannelHandler() {
@Override