SERVER-11554: Added new tests for mixed mode ssl

Also added ssl testing library functions

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>