HUE-1750 [core] Make IPv4 or IPv6 pluggable for Thrift clients

Spelling error in TSocket.py