[Bug]: Plugin causing bootloop after saving config. Might be by cameras...
### What happened?

I have two different cameras an am part of the Eufy Security beta team. I have one that is for sure on a beta firmware (and don't know how to enroll it into the "standard" firmware. Officialy I'm probably not supposed to even mention that I have it here. Anyway. I'd been wanting to setup Eufy Security plugin to get my doorbell on the HomeKit side so I can get notifications outside of the Eufy app.

When setting up the guest admin account everything works on my iOS devices in the Eufy App, but when adding the plugin (I've tried the installing versions 1.0.8, 2.0.0, 2.0.1 and the 2.1.0b2 builds, in each case I either reset the plugin and re-login, or paste my credentials as saved from the original 2.0.1 install.)

No matter what I do, when logged in with my credentials I begin experiencing a boot loop.

### Device Type

other (UnSupported)

### Plugin Version

v2.0.x (Supported)

### HomeBridge Version

v1.4.x (Supported)

### NodeJS Version

v14 (Supported)

### Operating System

Mac OS X 11+ (Supported)

### Relevant log output

```shell
[6/24/2022, 12:44:04 PM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at new NodeError (node:internal/errors:372:5)
    at Function.from (node:buffer:323:9)
    at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:24:35)
    at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:34:18)
    at buildLookupWithKeyPayload (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:39:26)
    at P2PClientProtocol.lookupByAddress (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:295:50)
    at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:275:51
    at Array.map (<anonymous>)
    at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:275:29)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:364:26)
[6/24/2022, 12:44:04 PM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at new NodeError (node:internal/errors:372:5)
    at Function.from (node:buffer:323:9)
    at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:24:35)
    at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:34:18)
    at buildLookupWithKeyPayload (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:39:26)
    at P2PClientProtocol.lookupByAddress (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:295:50)
    at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:275:51
    at Array.map (<anonymous>)
    at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:275:29)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:364:26)
[6/24/2022, 12:44:04 PM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at new NodeError (node:internal/errors:372:5)
    at Function.from (node:buffer:323:9)
    at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:24:35)
    at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:34:18)
    at buildLookupWithKeyPayload (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:39:26)
    at P2PClientProtocol.lookupByAddress (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:295:50)
    at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:275:51
    at Array.map (<anonymous>)
    at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:275:29)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:364:26)
[6/24/2022, 12:44:04 PM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at new NodeError (node:internal/errors:372:5)
    at Function.from (node:buffer:323:9)
    at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:24:35)
    at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:34:18)
    at buildLookupWithKeyPayload (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:39:26)
    at P2PClientProtocol.lookupByAddress (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:295:50)
    at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:275:51
    at Array.map (<anonymous>)
    at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:275:29)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:364:26)
[6/24/2022, 12:44:04 PM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at new NodeError (node:internal/errors:372:5)
    at Function.from (node:buffer:323:9)
    at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:24:35)
    at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:34:18)
    at buildLookupWithKeyPayload (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:39:26)
    at P2PClientProtocol.lookupByAddress (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:295:50)
    at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:275:51
    at Array.map (<anonymous>)
    at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:275:29)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:364:26)
[6/24/2022, 12:44:04 PM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at new NodeError (node:internal/errors:372:5)
    at Function.from (node:buffer:323:9)
    at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:24:35)
    at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:34:18)
    at buildLookupWithKeyPayload (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:39:26)
    at P2PClientProtocol.lookupByAddress (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:295:50)
    at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:275:51
    at Array.map (<anonymous>)
    at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:275:29)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:364:26)
[6/24/2022, 12:44:04 PM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at new NodeError (node:internal/errors:372:5)
    at Function.from (node:buffer:323:9)
    at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:24:35)
    at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:34:18)
    at buildLookupWithKeyPayload2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:61:26)
    at P2PClientProtocol.lookupByAddress2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:304:51)
    at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:276:51
    at Array.map (<anonymous>)
    at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:276:29)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:364:26)
[6/24/2022, 12:44:04 PM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at new NodeError (node:internal/errors:372:5)
    at Function.from (node:buffer:323:9)
    at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:24:35)
    at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:34:18)
    at buildLookupWithKeyPayload2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:61:26)
    at P2PClientProtocol.lookupByAddress2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:304:51)
    at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:276:51
    at Array.map (<anonymous>)
    at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:276:29)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:364:26)
[6/24/2022, 12:44:04 PM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at new NodeError (node:internal/errors:372:5)
    at Function.from (node:buffer:323:9)
    at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:24:35)
    at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:34:18)
    at buildLookupWithKeyPayload2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:61:26)
    at P2PClientProtocol.lookupByAddress2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:304:51)
    at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:276:51
    at Array.map (<anonymous>)
    at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:276:29)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:364:26)
[6/24/2022, 12:44:04 PM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at new NodeError (node:internal/errors:372:5)
    at Function.from (node:buffer:323:9)
    at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:24:35)
    at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:34:18)
    at buildLookupWithKeyPayload2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:61:26)
    at P2PClientProtocol.lookupByAddress2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:304:51)
    at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:276:51
    at Array.map (<anonymous>)
    at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:276:29)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:364:26)
[6/24/2022, 12:44:04 PM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at new NodeError (node:internal/errors:372:5)
    at Function.from (node:buffer:323:9)
    at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:24:35)
    at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:34:18)
    at buildLookupWithKeyPayload2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:61:26)
    at P2PClientProtocol.lookupByAddress2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:304:51)
    at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:276:51
    at Array.map (<anonymous>)
    at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:276:29)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:364:26)
[6/24/2022, 12:44:04 PM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at new NodeError (node:internal/errors:372:5)
    at Function.from (node:buffer:323:9)
    at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:24:35)
    at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:34:18)
    at buildLookupWithKeyPayload2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:61:26)
    at P2PClientProtocol.lookupByAddress2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:304:51)
    at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:276:51
    at Array.map (<anonymous>)
    at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:276:29)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:364:26)
```
