Fixed Content-Length for utf-8
Merge pull request #1 from ysw/master

JSON truncation fix