Port JSP 2.3 restriction to GET, POST and HEAD.