thrift by httpclient