catch the panic to avoid peer thread quit early (#2686)
catch the panic to avoid peer thread quit early (#2686)

* catch the panic to avoid peer thread quit before taking the chance to ban
* move catch wrapper logic down into the util crate
* log the panic info
* keep txhashset.rs untouched
* remove a warning

yeastplume/grin,yeastplume/grin