Add support for max_speed to the curl downloader.