This simplifies wpa_cli implementation greatly and also reduces the binary size by one third or so. Signed-hostap: Jouni Malinen <j@w1.fi>