Simpler sn creation
Refactoring: clear, less typo prone.
Added: server side chat room msg creation
Fixed: various bugs in chat room msg creation
Touchups: to client side chat room msg