first working simple socket server