added a few helpers for websocket processing