Support virtual hosted-style requests

Supports making only simple GET, PUT and HEAD requests for now. Bu-
cket manipulation will probably fail.

This requires that the base URL is provided in hosted-style.