http: fix race in transport_test

R=rsc
CC=golang-dev
https://golang.org/cl/4414044
1 file changed