Add prototype methods for httpRequest that implement servletRequest