lib/curl: revamp and move the curl_mail example to a nitunit