simplify struct of mqtt_connect_info and mqtt_state_t