socket api change