cli/reply: reorganize create_reply_message()