Text this: An attack detection method based on deep learning for internet of things