Added HTTP chunked encoding support