private static int ParseHost(string value, int startIndex, out object parsedValue) { string host = null; int hostLength = HttpRuleParser.GetHostLength(value, startIndex, false, out host); parsedValue = host; return hostLength; }