Updated code in example_client to use simplified gen_ealirc API.