added support for chunked transfer encoding to HTTP parser