[sr-dev] git:andrei/tcp_tls_changes: tls: ssl_flush() fix and re-worked error reporting