Allow default constructed and null shared_handler