createServiceWorkerWithConnection

Creates a connection to a service worker registered at workerScriptPath.

This is an experimental API — the service-worker transport has limited test coverage and its behavior may change without notice. Opt in explicitly with @OptIn(ExperimentalKsrpc::class).