Enable advanced control for SSL based testing.

For transport guarantee handling and client cert authentication we have a number of scenarios that we need to be testing, this pull request enhances the test suite to allow control of both the server and the client side of the testing so that these scenarios can be covered.