code: protected static Map<String, String> parseAuthHeader(String authHeader) {
          if (authHeader == null || authHeader.length() == 0)
              return null;
          Map<String, String> challenge = new HashMap<String, String>();
          Matcher m = re.matcher(authHeader);
          while (m.find()) {
              String scheme = m.group(1);
              String key = m.group(2);
              String value = m.group(4);
              if (value == null || value.length() == 0)
                  value = m.group(5);
              challenge.put(key, value);
              challenge.put("Scheme", scheme);
          }
          challenge.put("WWW-Authenticate", authHeader);
          return challenge;
      }
docs: BLIPHTTPLogic.m
  + (NSDictionary*) parseAuthHeader: (NSString*)authHeader
  
  @param authHeader
  @return