Added chat message encoder and decoder
Added message websockets endpoint