title: File upload issue using http::geturl in Tcl contain http-2.9 package
body: <p>I am using http::geturl to POST a Binary file using these command</p>
  
  <pre><code>set fid [open $filename RDONLY]
  fconfigure $fid -buffering full -encoding binary -translation binary
  
  ::http::geturl {http://10.39.51.221:11009/api/v1/sessions/1/ixnetwork/files?filename=test} \
      -type application/octet-stream \
      -querychannel $fid \
      -binary true \
      -headers {X-Api-Key 00000000000000000000000000000000 IxNetwork-Lib {IxNetwork tcl client v.IXTCLPROTOCOLVERSION} Host 10.39.51.221} \
      -timeout 180000
  </code></pre>
  
  <p>This code was working properly against Tcl-8.6.6 with http-2.8.9.
  But the client hangs when using the same code against against same Tcl-8.6.6 with different http package (http-2.9);
  I feel this behavior change due to <a href="https://core.tcl-lang.org/tcl/info/1876e25b9ced4520" rel="nofollow noreferrer">this change</a>.</p>
  
  <p>Earlier <code>-translation</code> was set only as binary (http-2.8.9)</p>
  
  <pre><code>fconfigure $state(-querychannel) -blocking 1 -translation binary
  </code></pre>
  
  <p>whereas currently <code>-translation</code> also pull from socket (http-2.9)</p>
  
  <pre><code>lassign [fconfigure $sock -translation] trRead trWrite
  fconfigure $state(-querychannel) -blocking 1 \
          -translation [list $trRead binary]
  </code></pre>
  
  <p>Same code is working properly when reverted to (<code>fconfigure $state(-querychannel) -blocking 1 -translation binary</code>) in http-2.9 code base.
  Please suggest any change in my code to run against both http-2.8.6 as well as http-2.9.</p>