Check if SMACK is enabled, if not skip code so cookie creation doesn't fail