Add Servlet 3.1 methods to mock request

Issue: SPR-11492