public static function proxy($cb, $name = null)
    {
        static $i = 0;
        $n = ++$i;
        Daemon::log('Debug::proxy #' . $n . ': SPAWNED (' . json_encode($name) . ')');
        return function (...$args) use ($cb, $name, $n) {
            Daemon::log('Debug::proxy #' . $n . ': CALLED (' . json_encode($name) . ')');
            $cb(...$args);
        };
    }