fixes Issue 9054 - std.net.curl byLineAsync and byChunkAsync broken.
Merge pull request #2086 from tcsc/master

fixes Issue 9054 - std.net.curl byLineAsync and byChunkAsync broken.