SERVER-11554: Added new tests for mixed mode ssl

Also added ssl testing library functions