[PATCH v2 05/14] cli/reply: reorganize create_reply_message()