#250 for master
Adding 9001 error code, as we got hit by https://jira.mongodb.org/browse/SERVER-7008.
Merge pull request #251 from jonhyman/feature/improved-retry-master

#250 for master