Task-scaled spiking neural networks with multi-stage feature selection for resource-constrained iot intrusion detection | Synapse