First attempt at switching to secure websocket ops.