Connection connection = null;
try {
final FilterChainBuilder clientFilterBuilder = FilterChainBuilder.stateless()
.add(new TransportFilter())
.add(new StringFilter(Charset.forName("UTF-8")))
.add(new HelloClientFilter(countDownLatch));
final TCPNIOTransport transport = TCPNIOTransportBuilder.newInstance()
.setProcessor(clientFilterBuilder.build())