Attempt to work around std.net.curl bug. See #109 and #135.