Dependable Composition of Software and Services in the Internet of Things: A Biological Approach