private ClustersRequest parserRequest(String requestData) throws UnsupportedEncodingException{		
			// 解析握手信息
			ClustersRequest requestInfo = new ClustersRequest();
			
			String[] requestDatas = requestData.split("\r\n");
			
			if(requestDatas.length < 0){
				return null;
			}
			
			String line = requestDatas[0];
			if(!line.equalsIgnoreCase(ClustersConstants.CLUSTERS)){
				return null;
			}	       
	        
	        for(int i = 1; i < requestDatas.length; ++i){
	        	// 解析单条请求信息        	
	        	line = requestDatas[i];
	        	
	        	String[] parts = line.split(":", 2);
	            if (parts.length != 2){
	            	log.info("Wrong field format: " + line);
	                return null;
	            }
	            
	            String name = parts[0].toLowerCase();
	            String value = parts[1].toLowerCase();
	            
	            if(name.equals("host")){
	                requestInfo.setHost(value);
	            }else if(name.equals("key")){// 获取随机码
	            	requestInfo.setDigest(getKey(parts[1]));// 设置签名
	            }else if(name.equals("protocol")){//获取安全控制版本
	            	requestInfo.setProtocol(value);// 设置协议
	            }else{
	            	log.info("Unexpected header field: " + line);
	            }
	        }
	        
	        return requestInfo;
	}