Cottage Cheese is the king of nighttime snacks. It's packed with a slow digesting protein, and can absolutely be eaten before bed. You could also buy N2Matrix from MTBM. It's a casein blend and tastes great unlike many other casein proteins I've tried.
If your cutting, get the 2% fat cottage cheese. My favorite is 2% Daisy brand with red grapes, and some uncooked oatmeal sprinkled on top. It's better than a bowl of ice cream to me!