Add setting to explicitly enable/disable forgery protection.

This is one possible way to implement the idea I was talking about in issue #48. All of the existing tests pass with no modifications, and I added a few new ones to demonstrate how the new setting works.

This is fully backwards compatible with the current release, but adds additional flexibility for those who want it.