Update rpcclient.js
Merge pull request #1 from artur-krueger/master

Fixed content-length bug. Added callback on error.