PHP fallback function http_build_url()