hostproxy is a pure TCP proxy for HTTP. It does not fully parse HTTP, it simply searches for the
Host header and injects other headers in to the stream.
var hostproxy =net =;
If no host header is present then host will be null.
What about adding headers?
address param is the return value from socket.address().