This is correct. The original one breaks.

This a not a URL at all. It's just the bad naming of node. It is Request-URI according to RFC2616 section 5.1. And for CONNECT method, port number is included in Request-URI, which is undocumented in RFCs.

Do a console.log, you will know Chrome don't send port number in host header for CONNECT request. Port number is sent in Request-URI(or req.url in node's naming).