NemoPersona/node-json-rpc — pull request #1 by artur-krueger (2013-12-18 23:25:24+00:00)
Title: Fixed content-length bug. Added callback on error.

Using a buffer fixes a bug that leads to a wrong content-length when the json body contains unicode characters.
Call callback when an error occured as there will be no other callback call.