hostapd: add function to handle wpa_key_mgmt