[PATCH v3 2/2] wininet: Handle http headers correctly when length is 0