Add RESTful methods to HttpHandler and Servlet