added socket server and sup