Improve SSL setup error logging to log more error strings from openssl