probably we should rename the `tunnelMiddleware()` to `rpcTunnelMiddleware()` to be more explicit.