Record message and session credits on transactions

Needs the updated #1088 merged in.