Applying Security to a Big Stream Cloud Architecture for the Internet of Things