https://github.com/webpack/webpack-dev-server/pull/240#issuecomment-141103838 ``` js console.log(require('url').parse('http://:::1').href) // "http://:1/::" ```