anchor.diff:          Ms when is_integer(Ms), Ms =< 0 ->
               ok;
           Ms when is_integer(Ms) ->
  -            lager:info("[~p:handle_req_map] Delaying for ~B ms", [?MODULE, Delay]),
  +            lager:info("[~p:handle_req_map:~p][StrId:~B] Delaying for ~B ms",
  +                       [?MODULE, self(), Stream#stream.id, Delay]),
               receive after Ms -> ok end
       end,
       Response.
  
positive.code:     end.
  
  %%--------------------------------------------------------------------
  handle_req_map(ReqMap, RespHdrs, S) ->
      %% TODO: maybe validate the request JSON, but could be lots of work for
      %% little reward
      %% validate_aps_json(ReqMap)
  
negative.code:         check_token(Token),
          JSON = check_payload(Payload),
          ReqMap = check_headers(Headers, Cert, JSON),
          lager:info("[~p:handle_post:~p][StrId:~B] JSON: ~p",
                     [?MODULE, self(), Stream#stream.id, JSON]),
          lager:info("[~p:handle_post:~p][StrId:~B] ReqMap: ~p",
                     [?MODULE, self(), Stream#stream.id, ReqMap]),
          handle_req_map(ReqMap, RespHdrs, S)
      catch
          error:{badmatch, Status} ->
  