Add wrapper.expand function

To expand a request into a fully qualified URI.