Add spawn() and resume() to HostSession and implement partially in Darwin backend