The functions copied from libhtp will have to move into their own file that contains libhtp's copyright header and an explanation of why we copied. Also, I would like to add a suri prefix to the name so in backtraces it's immediately clear this comes from us. Just add SC_ or something. Quite ugly sadly. The file should be something like app-layer-htp-libhtp.[ch] or something similar.