public int getListenPort() {
        return ((ServerConnector)server.getConnectors()[0]).getLocalPort();
    }
@author Simon Thoresen Hult
@author bjorncs
container-core/src/main/java/com/yahoo/jdisc/http/server/jetty/JettyHttpServer.java