Client now first receives from server, then sends; Also cahnged input prompt to '$'.