BUG/MINOR: ech: keep CLI success messages alive until printed
The add, set and del ssl ech parsers build their success messages in local
stack buffers and pass them to cli_msg(). This helper only stores the
pointer: the CLI applet prints it after the parser returns, when the
buffer is already out of scope. The success response is therefore read
through a dangling pointer.
Allocate these messages with memprintf() and transfer ownership to
cli_dynmsg(), which frees them after printing or on connection teardown.
Remove the now-unused fixed message size.
Reported by Bruno Henc (@brhenc) in issue #3589.
Fixes issue #3589.
This should be backported to 3.3 and 3.4.