Optimizing Safe Control of a Networked Platoon of