anchor.diff:  %%% Gen_event behaviour methods
   
   init([State]) ->
  -  io:format("~n~n~n~n~nINIT HANDLER~n~p~n~n~n~n", [State]),
     {ok, State}.
   
   handle_event(reconnect, #state{ws_handler_pid = WSHandlerPid} = State) ->
  -  io:format("~n~n~n~n~nRECONNECT: ~p~n~n~n~n~n", [self()]),
     WSHandlerPid ! reconnect,
     {ok, State}.
    
  
positive.code: 	{reply, {text, Msg}, Req, State};
  
  websocket_info(reconnect, Req, #state{path = _ServerPath, handler = Handler} = State) ->
    io:format("Websocket handler info: 'reconnect'...~n"),
    ReconnectMessage = Handler:handle_reconnect(State),
    {reply, {text, ReconnectMessage}, Req, State};
  
  
negative.code:   case EventManager of
      undefined -> ok;
      _ -> 
        gen_event:add_handler({global, EventManager}, {?MODULE, self()}, [State])
    end,
    {ok, Req, State}.
  