Added HTTPS (SSL) encryption for communication between server and client.