Could do with handling connection errors etc better - e.g. when node not running etc. Need to determine what's needed - perhaps look at how python-bitcoinrpc handles it?