Don't require phpunit.
Throw exception if http_build_url does not exist.