Handle abuse better
Handle abuse better

- close connections on any encoding error
- if the connection is closing do not process buffered requests

Crowndev/electrumx,Groestlcoin/electrumx-grs,thelazier/electrumx,erasmospunk/electrumx,shsmith/electrumx,Crowndev/electrumx,shsmith/electrumx,erasmospunk/electrumx,Groestlcoin/electrumx-grs,bauerj/electrumx,thelazier/electrumx,bauerj/electrumx