add support of IPv6 to telnet

Now, by default telnet use any family. Protocol can be specified by -4
and -6 options.
Merge pull request #89 from gescheit/telnet6

add support of IPv6 to telnet