changed the websocket structure name as per the changes made in websocket library