Service Selection and Composition in opportunistic Networks