Service discovery: reviewing threats and security architectures