Resource registration

Implements on demand resource provider registration when a client is requested.

Only registers websites right now, that's the only one we need at the moment.