add valueOf method to WifiSecurity
Version up to 0.0.5