Migrating from Apache HttpClient to java.net.URL