IPC: Get rid of internal heredocs

This opens the doors to sending arbitrary data.

All tests still pass.