anchor.diff:  make_response(FromPid, Xnest, {Type, Msg}) ->
   	Time = time2binary(erlang:localtime()),
   	From = pid2binary(FromPid),
  +lager:debug("~p", [Msg]),
   	Frame = [ {<<"from">>, From}
   		,{<<"xnest">>, Xnest}
   		,{<<"type">>, Type}
   		,{<<"payload">>, Msg}
   		,{<<"send_time">>, Time}
   	],
  +lager:debug("~p", [Frame]),
  +lager:debug("~p", [FromPid]),
  +lager:debug("~p", [self()]),
   	Response = jsx:encode(Frame),
   	Response.
   
  
positive.code: 	{ok, Count} = xnest:status(XNestPid, client_counts),
  	ResponseMsg = make_response(self(), State#state.xnest_name, {'member_count', Count}),
  	{reply, {text, ResponseMsg}, Req, State};
  
  %% @private
  %% @doc Receive Message from xnest and send it to client
  
negative.code: %% @private
  %% @doc Receive Message from client and send it to XNest
  websocket_handle({text, Msg}, Req, State ) ->
  	lager:info("xnestpid: ~p ,ip: ~p send a message:~ts", [State#state.xnest_pid, element(8, Req), Msg]),
  	parse_msg(Msg, State),			%%parse  message and do it with type
  	{ok, Req, State};
  
  