Sautée the onion in butter in a heavy saucepan until soft. Add pumpkin, chicken broth, and spices and simmer gently for 20 minutes. Allow to cool a little and purée in a blender or food processor, or put through a strainer, then return to the pan. Stir in the heavy cream and heat thoroughly (do not boil). Season with salt and pepper.