033ef151ca
Registering returns an instance that lets you retry and recover without needing to keep passing the name everywhere. Also refactored the shared process a little to make better use of the retry and downgraded stderr messages to warnings because they aren't critical.
server
Endpoints
/tunnel/<port>
Tunnels a TCP connection over WebSockets. Implemented for proxying connections from a remote machine locally.
/ports
Watches for open ports. Implemented for tunneling ports on the remote server.
/resource/<url>
Reads files on GET. Writes files on POST.