Fixed several bugs. The request/reply example is working properly.