Text this: A Machine Learning-Based Framework for Measuring Attack Surfaces of IoT Systems