Add return value checking on wifi_manager_ap_set_proxy_type()