Domanda di colloquio di Thoughtworks

How does HTTP and HTTPS protocols work internally?