Remove X-Request-With header that breaks CORS in some cases.
Add tests for headers removal configuration.
Change version to 3.1.0.