Rework of http://tech.ivkin.net/wiki/Run_Speedtest_from_command_line