added getter/setter for the internal websocket