Fixed wrong content-length setting for non-ascii chars
Merge pull request #8 from sbeidas/master

Fixed wrong content-length setting for non-ascii chars