Add API to enable/disable testing header equality when checking if a mock request matches a real request.

Header equality testing is disabled by default.