check Content-Length to detect aborted uploads