daemon casted and socket server ready for supervisor