add backward support of ReplicaSetConnection