fix parseUri('localhost:80'), add ipv6 addresses
Merge pull request #247 from bmalehorn/parseUri

fix util.parseUri('localhost:3000') bug