Update NetServer.js

more changes required