Support for replicaSet connections