Fixes propert detection of SSL based replicaset using MongoClient.connect and Db.connect #849