IPv6 support

Support for IPv6 addresses in square brackets as asked for in https://github.com/bencevans/node-compact2string/pull/9

Note that it depends on https://github.com/feross/addr-to-ip-port/pull/2 and we'll need a dependency bump once this has been pushed to npm.