Defending against attacks: To simulate the Secure Socket Layer (SSL) transmission between a user and a server