Text this: Learning DFA representations of HTTP for protecting web applications