Basic duplex thrift server and client