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