Fix for IPv6
Add missing socks import and some PEP8 cleanup
Version upgrade