add --strict-caps mode
the server will error sessions which provide invalid caps
or don't provid valid ones
fix #2500
Merge pull request #2718 from jlipps/strict-caps

add --strict-caps mode