Description
Original discussion: PostHog/posthog-ios#276 (comment)
When opting-out, we should stop() all integrations since they won't be processed by the SDK, and then start() again on next opt-in.
For session replay, when opting-in a new session should be created.