implement NetServer