Patent ID: 8671202

Claim:
In a peer-to-peer (P2P) network, a method for establishing a secure connection between a first peer (P1) in the P2P network and a second peer (P2) in the P2P network using an unmodified client/server handshake protocol, the method comprising: sending by P1 a first secure connection request (R1) to P2; receiving by P1 a second secure connection request (R2) from P2; generating by P1 an error condition E in a negotiation of the secure connection between P1 and P2; computing by P1 a random value (V1); cancelling by P1 the request R1; discarding by P1 the request R2; resending by P1 the request R1 to P2 after waiting a period of time based on the value V1; wherein the method is applied at an application level, wherein P1 and P2 engage in secure communication using an unmodified client/server handshake protocol, wherein R1 and R2 are handshake messages of the unmodified client/server handshake protocol.