add socket server and client script