Implement support for chunked transfer encoding.

Chunked T-E is mandatory for HTTP/1.1, and thus prerequisite for supporting
it.