fix error in server.c:  sent 4KB at one time.