SERVER-5625 SERVER-7426 allow all connections in all states to tolerate downed shards and primaries
Merge remote-tracking branch 'upstream/v2.4' into v2.4