added websocket skeleton code