maybe your "nasty cold" was in fact "the flu". It is known that infection with influenza virus can mess up the brain a lot. Even if there were no harsh neurological complications, your transitory dream recall and lucidity impairment might have been a direct consquence of the infection.