fix client protocol parse error.