Open SSL Handshaking
SSL protocol, does its fantastic job of securing communication over the wire, with the help of multiple layers of protocols, above TCP. Always keep in mind that, although HTTP protocol is the protocol, which highly makes use of SSL, to secure communication. SSL is an application layer independent protocol.So you can use that with any application layer Protocol. But a major point to note here is that, both the server and client must first agree on the same algorithm, that they are going to use in their communication. As the client is the first person to begin the communication, the first step that the client does is to tell server, about the cipher suits and MAC( Message Authentication code , this is made in record Layer.Read Record Layer Protocol in SSL) hash algorithm's it supports. ******************************************************************************************************** This is done by sending a CLIENT-HELLO message. The cl...