[web/native] Add lastCommunicatedPlatformDetails to redux
Summary:
https://linear.app/comm/issue/ENG-3905/platform-details-arent-updated-on-http-communication
Currently platform details are only send on web socket intialization and login. This is a problem because before the websocket is connected the client can already communicate with the keyserver with http endpoints. This diff adds lastCommunicatedPlatformDetails to redux which will keep track of the last send platform details, so we can resend them if they change. We track this as map of urlPrefix -> PlatformDetails, in preparation for multi keyservers.
Test Plan: Test if redux is updated on login. Test if the action works with the next diff
Reviewers: kamil, tomek
Reviewed By: kamil
Subscribers: inka, ashoat
Differential Revision: https://phab.comm.dev/D8350