server = new XMPPServer("vysper.org");
server.setStorageProviderRegistry(providerRegistry);
server.setTLSCertificateInfo(new File("src/test/resources/bogus_mina_tls.cert"), "boguspw");
BoshEndpoint boshEndpoint = new BoshEndpoint();
int port = findFreePort();
boshEndpoint.setPort(port);
boshEndpoint = processBoshEndpoint(boshEndpoint);
server.addEndpoint(boshEndpoint);