/**
             * Class to build a sync message.
             * When the service receives a sync message it replies with two messages,
             * the first message contains the service state and the second message contains the
             * service configuration