ws: Expose resources from remote hosts via HTTP

The resources are under the /cache and /res paths. See doc/urls.md
for more information.

We stream these from cockpit-agent using channels with payload
type resource1.

We also track when the web service requests checksum and module
listing information, and keep track of which host has which checksums
so we can send requests appropriately later.