go.net/proxy: fix IP address determination

net.IP represents either an IPv4 or IPv6 address. In case of
the address of IPv4 node, it uses IPv4-mapped IPv6 address
format by default.

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