private static int getLocalPort(Request request) {
        int connectorLocalPort = getConnectorLocalPort(request);
        if (connectorLocalPort <= 0) return Request.getLocalPort(request); // If connector is already closed
        return connectorLocalPort;
    }
Implements the request accessing logging for Jetty.

@author Oyvind Bakksjo
@author bjorncs
container-core/src/main/java/com/yahoo/jdisc/http/server/jetty/AccessLogRequestLog.java