Updating http_build_url() fallbach function.