Add support for older version of aria2, fixes #1