Gravar e-mail: Optimal control for networked control systems with multiple delays and packet dropouts