Refactored Tls_Error handler to not set errorCode.
Use error message, return result, or if none, fall-back to OpenSSL error queue.
Added clear OpenSSL errors to start of each command function to remove old error messages.