fixed HTTP chunked transfer