Intelligent Security Starts at the Edge