//
Bootstrap boot = new Bootstrap();
boot.group(this.rsfContext.getLoopGroup());
boot.channel(NioSocketChannel.class);
boot.option(ChannelOption.SO_KEEPALIVE, true);
final RsfContext rsfContext = this.rsfContext;
boot.handler(new ChannelInitializer<SocketChannel>() {
public void initChannel(SocketChannel ch) throws Exception {
ch.pipeline().addLast(new RSFCodec(), new ClientHandler(rsfContext));
}
});