This approach rocks. I would have done it like
```
$<cid>$cyphertext
```
where `$cyphertext` is `$<len>$<cleartext>`