Use WTF::Function instead of std::function in NetworkProcess code