Provide url inspector / manipulator API

Allows generated urls to be inspected and/or manipulated prior to being used; internally, this is to allow non-default domains to be used to avoid traversing multiple networks