add websocketclient snippets