Fixed issue with length of unicode characters

The Content-Length provided the wrong length in case of content included UTF-8 characters.

This confuses the destination server, which then cannot properly parse the received data as it's corrupted.
Merge pull request #4 from nj/json_utf8

Fixed issue with length of unicode characters
Version bump to 0.0.17
Regenerate gemspec for version 0.0.17
Added checking of content-length vs received length.
Added more debug output.
Not using Iconv for encoding corrupt UTF-8 any more.
Able to handle keep-alive-not-chunked content in HTTP 1.1
Now raising exception when something is not found.
Also added a test for this.
Version bump to 0.0.18
Regenerate gemspec for version 0.0.18
Post-requests now supports the ':default_headers' argument.
Version bump to 0.0.19
Regenerate gemspec for version 0.0.19
'post' now allowing the ':cookie'-argument.
Version bump to 0.0.20
Regenerate gemspec for version 0.0.20
'post' now allowing key: 'on_content'.
Version bump to 0.0.21
Regenerate gemspec for version 0.0.21
"on_content_call" for the status-line.
Added access to the response if reading status on-the-fly as the response is received.
Replaced "and" with "&&".
Version bump to 0.0.22
Regenerate gemspec for version 0.0.22