Nonlinear Control and Filtering for Stochastic Networked Systems