src/node/socket.ts/SocketProxyProvider/startProxyServer
class SocketProxyProvider:  private async startProxyServer(): Promise<net.Server> {
    if (!this._proxyServer) {
      this._proxyServer = this.findFreeSocketPath(this.proxyPipe)
        .then((pipe) => {
          this.proxyPipe = pipe
          return Promise.all([
            fs.mkdir(path.dirname(this.proxyPipe), { recursive: true }),
            fs.rm(this.proxyPipe, { force: true, recursive: true }),
          ])
        })
        .then(() => {
          return new Promise((resolve) => {
            const proxyServer = net.createServer((p) => this.onProxyConnect.emit(p))
            proxyServer.once("listening", () => resolve(proxyServer))
            proxyServer.listen(this.proxyPipe)
          })
        })
    }
    return this._proxyServer
  }