This diff introduces a napi-rs JS class constructor for using the shared Tunnelbroker-client library in the keyserver's node codebase.
Using the napi-rs class constructor we can use the client as a standard class inside the keyserver's JS codebase.
The class constructor has two arguments:
- Address where to connect to the Tunnelbroker;
- JS Callback function which is called when the message in the input stream is received. The message payload is used as an argument to the callback function;
The constructor connects to the Tunnelbroker server, spawning a tokio task to listen for new messages from the stream and call the callback function on it.
Linear task: ENG-2729