Issue #135: make a threaded electrum connector

Just a proof of concept for now. It threads the electrum connector and keeps a constant connection and uses a queue to manage the tasks given to it. It's not fully tested.