Generic helpers utilities for twisted daemons