TLS: peer server/transport and proxy transport

Yes. I considered that, but I decided not to do it since this codepath gets called a lot and the url.URL code does a lot more than we need. If you feel strongly about it, I will go ahead and do it, though, since I don't actually have real metrics to prove it is slower than what I have.