Use URLConnection instead of HTTPClient