Deduct TXFee from transferred balance

This should fix #568 as proposed by @nicoschtein
Merge pull request #574 from TheSerapher/issue-568

Deduct TXFee from transferred balance