using first detected socks5 proxy
fixes #241
replaced some tabs with spaces
Merge pull request #2 from naxuroqa/master

Update from original