Partial implementation of URL expansion.

- Single threaded and only does a single level of expansion.