Listens for process exit to handle cleanup
Connects the daemons libp2p node to the peer provided
Handles requests for the given connection
Parses and responds to DHTRequests
Parses and responds to PSRequests
Opens a stream on one of the given protocols to the given peer
Sends inbound requests for the given protocol to the unix socket path provided. If an existing handler is registered at the path, it will be overridden.
Starts the daemon
Stops the daemon
Listens for process exit to handle cleanup