Various updates to networking code.
Merge branch 'master' of github.com:BitShares/bitshares_toolkit
Merge branch 'master' of github.com:BitShares/bitshares_toolkit
client mines blocks