IPv6 support

Groundwork for string2compact, as asked for in https://github.com/bencevans/node-compact2string/pull/9#issuecomment-64164105