erasure-codes/cpp: Write and read requests (initial implementation).