When an invalid interface name is passed to wifi_essid() it does not close opened sockets.
Implement basic percentage calculation for wifi_perc. With this commit, the function returns correct percentage, since the max of what /proc/net/wireless returns is 70.
This brings us a lot more tidiness.