reformat emqtt_client