public static Protocol getProtocol(String protocol) {
			if (protocol == null)
				return null;
			for (Protocol p : values()) {
				if (protocol.startsWith(p.startsWith)) {
					return p;
				}
			}
			return null;
		}