Remove 'capturing' state from CaptureSession and sessionClosed message from the protocol.
Use a static int to manage session IDs instead of managing them in ReplayController.