A decentralized approach to network-aware service composition