Fixed handling of chunked request bodies