anchor.diff:  %% Stop
   %%
   stop(Host) ->
  +    % Stop ibrowse
  +    ibrowse:stop(),
       ejabberd_hooks:delete(user_send_packet, Host,
                             ?MODULE, log_packet_send, 55),
       ejabberd_hooks:delete(user_receive_packet, Host,
  
positive.code: %%
  start(Host, Opts) ->
      ?DEBUG(" ~p  ~p~n", [Host, Opts]),
      case gen_mod:get_opt(host_config, Opts, []) of
          [] ->
              start_vh(Host, Opts);
  
negative.code: %%
  send_to_rest(Url, FromJid, ToJid, MessageText) ->
      ?DEBUG("Args ~s", [Url, FromJid, ToJid, MessageText]),
      ibrowse:send_req(Url,
                       [{"Content-Type","application/x-www-form-urlencoded"}],
                       post, 
                       mochiweb_util:urlencode([{body, MessageText}]),
                       [{stream_to, self()}]),
      ok.
  
  
  