add --strict-caps mode
the server will error sessions which provide invalid caps
or don't provid valid ones
fix #2500