Using boost::signals2 to message main from net.cpp.