Support not fully specified APDUs in `formatAPDU`
Add support for tokenized APDUs (ugh, it's so ugly!)