ODD crypto implementation
Parameters
The string used as an ID for the websocket, obtained from the parent device
URL for the websocket server
A name for this device
Optional
query?: stringCan add a token here that you use for auth
A promise that will resolve with the new identity object, and a signed certificate that authorizes this new device.
Open a websocket connection from the new device. Returns a promise that resolves with the new ID and a signed certificate.