CXX-437 Backport server 2.8.0-rc1..2.8.0-rc2 changes

It is actually used, at the end of line 73.