golang.org/x/net v0.60.0 deprecates its HTTP/2 server and transport in favour of net/http. Make the h2c test use http.Transport with unencrypted HTTP/2. serve restic --stdio still needs http2.Server to serve HTTP/2 on a single connection as http.Server has no way of doing that.