added socket on/off action