Use HttpRequest instead of HttpContext to replace IRequest
Use HttpResponse.End instead of WriteAsync to avoid chunking