THORIN: an Efficient Module for Federated Access and Threat Mitigation in Big Stream Cloud Architectures