Cast content_length to signed int for error-check comparison, preventing segfault when attempting to read buffer.
Revert content_length to be int
Merge pull request #1 from mastertheknife/contentlengthfix

Revert content_length to be int
Merge pull request #232 from josephevans/master

Cast content_length to signed int for error-check comparison