secure websocket for streaming api