ready for websocket communications