See comment regarding `uri.scheme` in v1/http_client.rb.