ncb000gt/node-es — pull request #46 by AVVS (2014-04-19 16:26:14+00:00)
Title: Different ports support with hosts option

I had a very unpleasant bug today - supplied hosts with multiple ports as it says in the docs, and of course had an issue with ENOTFOUND, because port was never stripped off from the host itself and the connection had the following destination at all times: xxx.xxx.xxx.xxx:port:80

This fixes it. Might be a bit dirty, but does the job