websocket client cert cleanup