I get it fairly often.. someone once told me it was soemthing like:
"your subconcious trying to keep you from falling asleep for whatever reason". It happens right at the transition from conciousness to unconciousness.
Dunno if that's completely true (and I have clicked on the links yet).. but it sounded good to me