Introduce symbolic constant for Ethernet hardare address length.

Avoid converting MAC addresses into integers: it's not necessary.
Avoid multiple definitions of to_dotquad().  Implement this
(and from_dotquad()) using Socket's inet_pton() (and inet_ntop())
wrapper as it does better error-checking.