[web] introduce resetting Outbound P2P Messages to shared worker
Summary:
The code on the web to interface with the search API exposed via WASM.
Depends on D13028
Test Plan: Tested in D13032
Reviewers: tomek
Reviewed By: tomek
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D13029