code: public int getHeaderFieldInt(String name, int Default) {
          String value = getHeaderField(name);
          try {
              return Integer.parseInt(value);
          } catch (Exception e) { }
          return Default;
      }
docs: Returns the value of the named field parsed as a number.
  <p>
  This form of <code>getHeaderField</code> exists because some
  connection types (e.g., <code>http-ng</code>) have pre-parsed
  headers. Classes for that connection type can override this method
  and short-circuit the parsing.
  
  @param   name      the name of the header field.
  @param   Default   the default value.
  @return  the value of the named field, parsed as an integer. The
  <code>Default</code> value is returned if the field is
  missing or malformed.