Add optimizeHMD flag to Controller

This is to keep track of the current `optimizeHMD` protocol state, right? Do we keep track of the `background` state?