Skicka posten per e-post: Optimal control for networked control systems with multiple delays and packet dropouts