Add submitTransfer and cancelTransfer. Rudimentary async I/O should now work (not tested yet!).