This is a brief description about Ncat's HTTP handling and what Ncat actually
sends for HTTP proxy headers.

HTTP handling has been intentionally kept pretty minimalist to avoid any
possibility of breakage between proxy servers. I've also used HTTP/1.1 because
I'm pretty sure that Squid requires it for the 'CONNECT'. I also assume that
most other major HTTP proxy vendors should accept this request successfully. 

If you find Ncat does not successfully negotiate connections with the proxy
server your use, please let me know, and I'll try to add some more intelligent
processing.  Information on how to report this problem is detailed in th BUGS
file distributed with Ncat.

Ncat's HTTP Proxy Connection header looks like this:

CONNECT target-host:80 HTTP/1.1\n
Proxy-authorization: Basic eW91IHN1Y2s=\n   [Only if --proxy-auth specified]
Host: proxy-host:8080\n
\n

