Add support for torrent url and torrent file.