added context message support to the web socket