A neural-network based anomaly detection system and a safety protocol to protect vehicular network