fixed small glitch in server communication EOF handling by the client