Adding support for new module_random. Fixing issue with loss of sync due to losing announce messages. Adding const_guid_ref_t.