ssl_send_data(): Log the data before writing