HttpServlet classes updated appropriately.

The current HttpServletRequest and HttpServletResponse were not
interfaces. Although this compiled and ran fine in both java and php, it
is not correct. It has been updated accordingly.