CSHARP-1133: added missing ConfigureAwait(false) calls to prevent deadlocks.
CSHARP-1120: Update Core settings classes to use record-style With method.
CSHARP-1120: Simplified With methods of XyzSettings so that they always return a new instance. Added missing tests.