cb.setOption("connectTimeMillis", this.connectTime);
// outbound handler gets no link to channel group because these two connections act as one: if one goes down, it
// takes the other end with it.
cb.getPipeline().addLast("handler", new TcpTunnelOutboundHandler(this.id, this.remoteHost, this.remotePort,
e.getChannel()));
ChannelFuture f = cb.connect(new InetSocketAddress(this.remoteHost, this.remotePort));
this.outboundChannel = f.getChannel();
f.addListener(new ChannelFutureListener() {
public void operationComplete(ChannelFuture future) throws Exception {
if (future.isSuccess()) {