Some networking code changes.