adds option to select tls provider when using wpa_supplicant, fixes #3770