use poller instead of threads
catch socket send errors
Merge branch 'poller' of github.com:spesmilo/electrum-server into poller