adjusted clientside websocket call