io.sockets.secure.openssl: big refactoring, all error handling merged into one check-ssl-error word
io.sockets.secure.openssl: more docs
io.sockets.secure.openssl.tests: more and better SSL_connect tests

Better error handling so it should be easier to see why the tests fail
on the build server (#1036).