THRIFT-2267:Should be able to choose socket family in Python TSocket
Client: py
Patch: Abraham Elmahrek

Currenlty, the python library looks for AF_INET6, but some applications prefer AF_INET4. This should be selectable or configurable.