Keeping raw socket until diagnostic_manager is fully migrated