Implement minetest.download_http(url, timeout, function callback(data,curlcode )) to allow to download files in Lua on the server.