io CHANGE simplify code of writing messages
io CHANGE simplify code of writing messages

forget about some (small) optimization for not a common type of
communication and simplify (improve readibility of the) code.

CESNET/libnetconf2,CESNET/libnetconf2