bugfix in chuncked responses support