OF-2841: Make CAPS advertised on Stream user specific
Registered users can get different features from the server than non-registered users. This should be expressed in the advertised CAPS.
OF-2825: Moved implementation of Service Discovery security considerations to individual providers
Instead of applying the security considerations of section 8, XEP-0030 globally, they now are applied to the individual discovery data providers. This prevents them to be applied to providers where they do not apply (eg: MUC, that doesn't apply presence subscription based authorization at all).