Chop onion and into small pieces, and crush the garlic.
Add butter to a small skillet and heat on medium.
When butter is melted and starting to bubble, add onions and garlic and cook on medium-low until onions are translucent.
Pour cream into skillet and turn heat down to low. Add salt to this mixture.
In a buttered casserole dish put half of your cauliflower to cover the bottom and sprinkle with about 1/3 of the cheese. Sprinkle with coarse ground black pepper and then add the other half of the cauliflower.
Add the remaining cheese evenly on the top of the cauliflower, and add more pepper.
As the cream mixture heats up, stir frequently. Once it is heated through and bubbling a bit at the edges, remove from heat and pour over cauliflower and cheese in casserole dish.
Put the casserole dish in the oven for about 25 minutes until top is bubbling and the cheese is browning.
Remove from oven and let sit for about 5 minutes so the sauce can thicken up a bit. Serve alongside ham and a salad and try not to lick your plate.