@Override
    protected GuacamoleTunnel createTunnel(Session session) throws GuacamoleException {
        return tunnelRequestService.createTunnel(new WebSocketTunnelRequest(session.getUpgradeRequest()));
    }
Creates a new WebSocketListener which uses the given TunnelRequestService
to create new GuacamoleTunnels for inbound requests.

@param tunnelRequestService The service to use for inbound tunnel
                            requests.
guacamole/src/main/java/org/apache/guacamole/tunnel/websocket/jetty9/RestrictedGuacamoleWebSocketTunnelListener.java