Make a key-value line abstraction to output control replies
A few controller commands still use
connection_buf_add() or similar low-level functions after constructing a list of reply lines. Almost all of these are key-value pairs. Create a new abstraction to output these, including by automatically including the correct separator character between the numeric code and the rest of the line.