Add server plugin filter hooks for import with torrent and url (#2621)