title: Not able to set parameters in http/2 transport
body: <p>I want to have a Go HTTP/2 client for contacting a HTTP/2 supported server using h2c. For which I used Go's http2 transport, but it does not provide options like connection timeout, disable keep-alive, idle connection timeout, etc. as provided by http transport. </p>
  
  <p>I tried using ConfigureTransport function in http2 package but this doesn't work with h2c. </p>
  
  <p>Code snippet which I used is: </p>
  
  <pre><code>protos := []string{"h2", "http/1.1"}
  transport1 := &amp;http.Transport{
      DisableCompression: !enableCompression,
      DisableKeepAlives:  !enableKeepAlive,
      DialContext: (&amp;net.Dialer{
          Timeout: dialTimeout,
      }).DialContext,
      IdleConnTimeout:     idleConnectionTimeout,
      MaxIdleConnsPerHost: idleConnectionsPerHost,
      TLSClientConfig: &amp;tls.Config{
          NextProtos: protos,
      },
  }
  
  if err := http2.ConfigureTransport(transport1); err != nil {
      fmt.Println(err.Error())
  }
  
  client := http.Client{
      Transport: transport1,
  }
  
  resp, err := client.Get("http://&lt;server&gt;/hello.html")
  </code></pre>
  
  <p>I was expecting communication over h2c to work with all the parameters specified. Am I missing something?</p>