StyleCop cleanup of the Network code

Only cosmetics, no logic changes.