this.stdout = stdout;
this.stderr = stderr;
rng = new Random(new SecureRandom().nextLong());
//noinspection ThisEscapedInObjectConstruction
configuration.setConnectionHandler(new ProcessControllerServerHandler(this));
final ProtocolServer server = new ProtocolServer(configuration);
server.start();
this.server = server;
}