a thrift client that support statistics