Use Task::read*() helpers and remove old ones.

This removes the last of the ipc.{h,cc} code.

Another step along #801 / #802.