relay-core: update parsed code message to match RFC