We should do the same as #17739 but for http2.Transport, so HTTP/1 and HTTP/2 are in sync behavior-wise for Go 1.11.