Add custom_reply example and fix bug in eric_net