add client side cookie switch to force mock enabling

`true` would be always enabled, `undefined`/`null` would be honor cookie.