HttpAsyncClientProtocolHandler clientHandler = new HttpAsyncClientProtocolHandler();
this.server.start(serviceHandler);
this.client.start(clientHandler);
ListenerEndpoint endpoint = this.server.getListenerEndpoint();
endpoint.waitFor();
InetSocketAddress address = (InetSocketAddress) endpoint.getAddress();
HttpHost target = new HttpHost("localhost", address.getPort());
Assert.assertEquals("Test server status", IOReactorStatus.ACTIVE, this.server.getStatus());