allow getTorrent() to accept a torrent obj