Use MongoReplicaSetClient if URI indicates replica set.

Also remove the effectively unused 'port' argument.