code: public String makeReplayURI(String datespec, String url) {
  		String res = null;
  		
  		if (url.startsWith(WaybackConstants.HTTPS_URL_PREFIX)) {
  			url = WaybackConstants.HTTP_URL_PREFIX + url.substring(WaybackConstants.HTTPS_URL_PREFIX.length());
  		} else if(!url.startsWith(WaybackConstants.HTTP_URL_PREFIX)) {
  			url = WaybackConstants.HTTP_URL_PREFIX + url;
  		}
          try {
  			res = redirectURI + "?url=" + URLEncoder.encode(url, "UTF-8") + 
  				"&time=" + URLEncoder.encode(datespec, "UTF-8");
  		} catch (UnsupportedEncodingException e) {
  			// should not be able to happen -- with hard-coded UTF-8, anyways..
  			e.printStackTrace();
  		}
  		return res;
  	}
docs: /* (non-Javadoc)
  @see org.archive.wayback.ResultURIConverter#makeReplayURI(java.lang.String, java.lang.String)