Implemented a command emitter, taking message tuples and returning a network-ready string.