Supporting headers and stateless in web-server/test