Add missing FindNode prototype to net.h

Also make the argument a const std::string & instead of pass-by-value.