container.start();
ProxyHandler proxy = new ProxyHandler(container.getProxyClient(), 30000, ResponseCodeHandler.HANDLE_404);
MCMPHandler.MCMPHandlerBuilder mcmpBuilder = MCMPHandler.builder();
mcmpBuilder.setManagementHost(chost);
mcmpBuilder.setManagementPort(cport);
MCMPHandler mcmp = mcmpBuilder.build(container, proxy);
mcmp.start();
server = Undertow.builder()
.addHttpListener(cport, chost)
.addHttpListener(pport, phost)
.setHandler(mcmp)
.build();