fixes (?) chunked reponse parsing