No need to urlencode the connection options in the server string, MongoClient support an $options array as its second argument
Merge pull request #31 from arthurdarcet/dsn-options

Nicer handling of the extra connection options