If "spam protection" means vericodes and "auto-deletion" means pruning of old threads, then Thorn already supports those, unless you've turned them off or disabled them when you were twiddling with the source code somehow.