MA-NID : a multi-agent system for network intrusion detection