Better reporting of errors reading from stream for CURLTransfers