Use a static int to manage session IDs instead of managing them in ReplayController.
Remove unloadSession command and sessionUnloaded message from the Replay protocol. Instead, unload sessions automatically when starting capture or switching sessions.