Implement random nonce in handshake.
Implement masking.
Implement authentification.
Cleanup.