if (connected) throw new IllegalStateException ("Already connected");
  public void setRequestProperty(String key, String value)  {    // Do nothing unless overridden by subclasses that support setting    // header fields in the request.  }