private static HttpResponse ConvertResponse(HttpResponse<Stream> binaryResponse)
 {
     return new HttpResponse
     {
         Headers = binaryResponse.Headers,
         RawBody = binaryResponse.Body,
         StatusCode = binaryResponse.Code
     };
 }
 private static HttpResponse ConvertResponse(HttpResponse<string> stringResponse)
 {
     return new HttpStringResponse
     {
         Headers = stringResponse.Headers,
         RawBody = stringResponse.Raw,
         Body = stringResponse.Body,
         StatusCode = stringResponse.Code
     };
 }
 public HttpContext(HttpRequest request, HttpResponse response)
 {
     Request = request;
     Response = response;
 }