Fixed connecting to IPv6 addresses
Merge pull request #87 from tbartelmess/master

Fixed connecting to IPv6 addresses