added stream reading for HttpServletRequest for test