CXX-369 call ismaster when SSL is enabled

done.