Implement io.ReaderFrom and io.WriterTo tx/utxo types.

These are currently untested.