Provides functionality for http_build_url() to projects without pecl_http.