More on refactoring HTTP processing