public static ServerConnector createSocketConnector(Server server, String host, int port, boolean trustForwardHeaders) {
        Assert.notNull(server, "'server' must not be null");
        Assert.notNull(host, "'host' must not be null");

        HttpConnectionFactory httpConnectionFactory = createHttpConnectionFactory(trustForwardHeaders);
        ServerConnector connector = new ServerConnector(server, httpConnectionFactory);
        initializeConnector(connector, host, port);
        return connector;
    }
Creates an ordinary, non-secured Jetty server jetty.

@param server Jetty server
@param host   host
@param port   port
@return - a server jetty
src/main/java/spark/embeddedserver/jetty/SocketConnectorFactory.java