This PR makes it possible to receive data (e.g. DTLS handshake packets) from the remote peer before receiving an answer.
Now:
Our ICE implementation allows data from unauthorised peer (so before we receive their credentials in an answer),
DTLS requires remote's certs to perform the handshake.
DTLSTransport will now buffer packets received before receiving an answer and handle them after the transport has been initialised (so after answer has been set).
This PR makes it possible to receive data (e.g. DTLS handshake packets) from the remote peer before receiving an answer.
Now:
DTLSTransport
will now buffer packets received before receiving an answer and handle them after the transport has been initialised (so after answer has been set).