Fetch MAC address using Socket.getifaddrs

Socket.getifaddrs is new API in ruby that gives all the available
interfaces in a cross-platform manner.  This is easier and faster than
attempting to shell out.