use thrift socket client