With the deprecation of MongoClientOptions#socketFactory property, there's no longer a reason for this constructor to exist.