Zaslat SMS: Formal logical methods for system security and correctness