Tweaks to latest snapshot Stream API, change to localhost for websocket connection