protected void initChannel(NioSocketChannel ch) throws Exception {
logger.info("Open connection, channel: {}", ch.toString());
ch.pipeline().addLast("readTimeoutHandler",
new ReadTimeoutHandler(CONFIG.peerChannelReadTimeout(), TimeUnit.SECONDS));
ch.pipeline().addLast("out encoder", encoder);
ch.pipeline().addLast("in encoder", decoder);
ch.pipeline().addLast(Capability.P2P, p2pHandler);
ch.pipeline().addLast(Capability.ETH, ethHandler);
ch.pipeline().addLast(Capability.SHH, shhHandler);