basic server and socket configuration