Security Of Freeway Traffic Systems: A Distributed Optimal Control Approach