go.net/proxy: make use of constants

R=golang-dev, dave
CC=golang-dev
https://golang.org/cl/7299056
1 file changed