add cmd to server. add process protocol func.