added method definitions for MAC, IPv4 and IPv6 constructors taking a single std::string parameter