yep, you want to take in some form of protien before bed. This is one of the most important times of the day to take in protien. Your body grows during sleep, and releases GH to help build your muscles, and repair any sicknesses, or injuries. There is a reason why doctors tell you to get alot of rest when your sick. Sleep will actually cure you!
Anyway, Excess is right when he says it is better to eat some solid food, because it takes longer to break down. I don't always do what is best though, I just take a protien drink.