add a separate channel for server commands
use select() instead of threads
poll
poll
handle exceptions
fixes
fix
Merge branch 'poll' of github.com:spesmilo/electrum-server into poll