Rename a few variables in prototypes.
Generalized the test code
Fixed virtual destructor leak with xSSL_CTX