Text this: A Novel Versatile Framework for Enabling Early Detection of Evolving Network-based Cyberattacks