Add missing function to core util; goes along with tcp monitor.