add socket persistent id config support