Revert "close a significant leak from disconnecting clients"

This reverts commit 637751051e2d4d96fcdc58c6b43995bec280cea2.
generalise dumpbt.sh script
fix small bug in dumpbt
support default-route in usermask