Update to new  node api signature change in v0.10

bitcoinjs-server doesn't compile against 0.10 - this should fix it.