feature(cloudfunc) formatMsg: add empty name condition
feature(server) change socket msg