upgrade socket server