CSHARP-816: added support for throwing duplicate key exceptions when returned from mongos.