Add a more flexible version of hwaddr_aton: hwaddr_aton2()