agent: don't accept unknown configuration directives

If an unknown configuration directive is present, it is better not to
ignore it as it can be a typo error.
Merge pull request #186 from vincentbernat/fix/error-on-unknown-directives

agent: don't accept unknown configuration directives