Support transfer-encoding chunked

* Needs exhaustive testing