This could be useful to check the sending window (e.source) for instance, or if one wants to allow multiple origins.