Fix Issue 13042 - std.net.curl.SMTP doesn't send emails with libcurl-7.34.0 or newer

Fix https://issues.dlang.org/show_bug.cgi?id=13042