[lib] introduce Tunnelbroker device token handler
Summary:
ENG-8400.
Handler which updates Tunnelbroker device token using socket connection.
Test Plan:
Tested both web and native:
- Login.
- Opening & closing app / refreshing app.
- Manually changing device token to make sure this is triggered and executed only once.
- Tested case when user logs out, Identity log out fails (D12525 is not executed), and then when user logs in device token is assigned only to the new deviceID (assuming device token did not change).
Reviewers: bartek, marcin, inka
Reviewed By: inka
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D12538