Start of support for COMMAND calls
panic on binary.Read/Write error; to be recovered from later