Added async option and aria2-rpc support