remove the dependency on the servlet api since it isn't required to buil...

remove the dependency on the servlet api and introduce support for patch