Stop calling CFURLGetString() so much
Trick the URL parser into understanding URLs of the form:
scheme:path?query#fragment