.setupSsl(keystore, "webbit")
.add(new ServerHeaderHandler("My Server"))
.add(new StringHttpHandler("text/plain", "body"));
keystore.close();
webServer.start();
try {
HttpsURLConnection urlConnection = httpsGet(webServer, "/");
assertEquals("My Server", urlConnection.getHeaderField("Server"));
assertEquals("body", contents(urlConnection));