doesn't this mutate the `incomingMsg`? Shouldn't make the `outgoingMsg` use a copy and then append there?