internal static FluentHttpRequest ToFluentHttpRequest(
            this HttpRequestMessage request,
            FluentHttpClient client
            )
        {
            var builder = client
                          .CreateRequest()
                          .WithMethod(request.Method)
                          .WithUri(request.RequestUri.ToString())
                          .WithBodyContent(request.Content)
            ;

            return(new FluentHttpRequest(builder, request));
        }
        internal static FluentHttpRequest ToFluentHttpRequest(
            this HttpRequestMessage request,
            FluentHttpClient client
            )
        {
            var builder = client
                          .CreateRequest()
                          .WithMethod(request.Method)
                          .WithUri(request.RequestUri.ToString())
                          .WithBodyContent(request.Content)
            ;

            foreach (var prop in request.Properties)
            {
                builder.WithItem(prop.Key, prop.Value);
            }

            return(new FluentHttpRequest(builder, request));
        }