router_logger: s/boost::function/std::function/g

This should be merged as the same moment as the std::function pull requests in soa/