Mapping ACK/NACK to transactions, closes #1