fix bug: message body can not contains message delimiter

this is one way to fix this bug, I have tested it in websocket(for short messages). I think it is really a bug, because some user must want to input some character, such as ‘|’.