PHP autodownloader script using aria2-RPC