anchor.diff:                 args   = Args,
                  body   = Body,
                  image  = Image,
  -               key    = Key} ->
  +               key    = LocKey} ->
         Json = {case Body of
                   none -> [];
                   Body -> [{<<"body">>, unicode:characters_to_binary(Body)}]
  
positive.code:           {ssl_imp, old}, {mode, binary}],
           Connection#apns_connection.timeout) of
      {ok, Socket} ->
        {ok, #state{socket = Socket}};
      {error, Reason} ->
        {stop, Reason}
    catch
      _:{error, Reason} ->
        {stop, Reason}
  
negative.code:                               none -> [];
                                Image -> [{<<"launch-image">>, unicode:characters_to_binary(Image)}]
                              end ++
                  [{<<"loc-key">>, unicode:characters_to_binary(LocKey)},
                   {<<"loc-args">>, lists:map(fun unicode:characters_to_binary/1, Args)}]},
        do_build_payload(Params, [{atom_to_binary(Key, utf8), Json} | Payload]);
      _ ->
  