Initial implementation of chunked transfer.
* Use backward-compatible syntax.
* Read response's version to toggle chunked transfer.
Catch empty chunk case.
Be more API-friendly.
Use correct variable..
Merge pull request #1 from savonet/chunked

Implementation of chunked transfer.