This patch adds a function that generates the list of avalaible actions for the error message.
Each (http|tcp)-(request|response) action use the same method for looking up the action keyword during the cofiguration parsing. This patch mutualize the code.