Need packet definitions for websocket cryptographic ratchet
Created by: jcopi
A packet definition needs to be created for formatting data sent over websockets. Every Packets will require ECDH key exchange information and an encrypted and HMAC signed payload (The first packet will only be a key exchange). The payload will be api calls (from client) and responses (from server).
In the first iteration of the protocol the client shall only send one packet at a time and shall wait for a response to each previous packet before sending again. This requirement will greatly simplify the cryptographic design of the protocol.