thrift server sample added