if (connected) throw new IllegalStateException ("Already connected");
  public String getRequestProperty(String key)  {    // Overridden by subclasses that support reading header fields from the    // request.    return null;  }