Optimizations of an Application-Level Protocol for Enhanced Dependability in FlexRay