Retry on SocketError when calling resolv()
Merge branch 'master' of https://github.com/mongoid/moped
Fixes 265, allow nearest to work in a multi-threaded environment
Fixes #258 Latest needs to handle condition where nodes may not yet have a latency. For example when a node is removed and then added back later.
Fixes #267 Retry write operations on connection failure and master change
#267 When read preference is primary it failed to move reads to the new primary
Fails immediately with Moped::Errors::QueryFailure:
failed with error 13435: "not master and slaveOk=false"
Fixes #236 Add :resolve configuration option to disable using expensive Resolv.each_address when not required
Merge branch 'feature/resolv_config_option'

Conflicts:
	lib/moped/address.rb
Merge pull request #1 from grimesjm/master

Testing resolution of replica set failover