Ported mongoclient ssl tests to legacy
Fixes for ssl tests