As requested by vlj, move singleton from networking to utils