Fix issue #110 and issue #168.
Refactor chunked encoding body parsing.
Merge pull request #217 from skystrife/0.9-devel-integration

Fix issue #110 and issue #168.