commmon error handler for websocket messages
extract websocket handler inner fn
Merge branch 'feature/handle-message' into develop