proto-shell: allow running protocols without proto_task.