Fix build.
- pass a format string to printf
- catch up with constifying uz_name

MFC after:	3 days
Use the CONNECT method to proxy HTTPS connections through HTTP proxies.

PR:		bin/80176
Submitted by:	Yuichiro NAITO <naito.yuichiro@gmail.com>