Added HTTP chunked encoding support

Re-opening this old pull request as the name of the branch has changed. We've been waiting too long to merge this, time to move.

See #193