this.server.start();
final HttpHost target = new HttpHost("localhost", this.server.getLocalPort(), this.scheme.name());
final TestTargetAuthenticationStrategy authStrategy = new TestTargetAuthenticationStrategy();
final BasicCredentialsProvider credsProvider = new BasicCredentialsProvider();
credsProvider.setCredentials(new AuthScope(target, "this realm", null),
new UsernamePasswordCredentials("test", "this"));
credsProvider.setCredentials(new AuthScope(target, "that realm", null),
new UsernamePasswordCredentials("test", "that"));
this.clientBuilder.setTargetAuthenticationStrategy(authStrategy);
this.httpclient = this.clientBuilder.build();