Added null checks to MongoOptions.toClientOptions

Default MongoOptions are now converted to valid MongoClientOptions
JAVA-1277