[lib] Inline reduceConnectionInfo pt.1
Summary:
issue: https://linear.app/comm/issue/ENG-5352/inline-reduceconnectioninfo
This reducer is big, so I will do this in two parts. Some actions needed to have their payloads updated.
Socket is keyserver specific. ActivityHandler is only used in socket, so it is also keyserver specific
Test Plan:
Dispatched updateConnectionStatusActionType, queueActivityUpdatesActionType, updateActivityActionTypes.success action and checked that the store is updated as expected. Assuming that unsupervisedBackgroundActionType works by symmetry with updateConnectionStatusActionType
Ran yarn flow-all
Reviewers: michal, kamil, ginsu
Reviewed By: michal
Subscribers: ashoat, tomek, wyilio
Differential Revision: https://phab.comm.dev/D9803