The layered games framework for specifications and analysis of security protocols. (6th November 2008)