Read and write packed captn proto messages.