code: public HttpResponse syncRequest(String host,int port,HttpRequest request,long waiteTimeMills)
  	{
  		HttpResponse response=null;
  		synchronized (request) {
  			if(response==null)
  			{
  				HttpListener listener=new HttpListener(request);
  				NettyClient client=new NettyClient(config,new InetSocketAddress(host, port),new HttpClientInitHandler(listener));
  				client.start();
  				response=listener.waitResponse(waiteTimeMills);//阻塞等待结果
  				client.stop();
  			}
  		}
  		return response;
  	}
docs: 同步请求
  @param host
  @param port
  @param request
  @param waiteTimeMills
  @return 超时返回null