Fixed wrong read size in server.c