code: public String getHeader(String name) {
          Vector<String> v = getHeaders(name);
          if (v == null) {
              return null;
          }
  
          return v.firstElement();
      }
docs: Get the first header value using the name given. If there are multiple
  occurrence, only the first one will be returned as String.
  
  @param name
  @return the header value. null if not found.