TLS: peer server/transport and proxy transport

can we use url.URL and then call url.String()?