Tailoring Service Discovery to Embedded P2P Systems