Add basic Websocket function