Fix an error message broken by earlier debugging, and also fix long-standing shutdown problems. Move basic tests to more standard location.
The recent thread-safety change wasn't right.
ssl-set-verify!' and
Using the functions on a port triggers renegotiation of the connection, which s useful for cases such as a web server that requires a certificate only for certain paths. This functionality also allows better testing of the SSL library.