anchor.diff:  %% @private
   init(Listener, Client, Opts) ->
       ok = cowboy:accept_ack(Listener),
  -    handshake(#state{proxy    = amqpoxy:format_ip(Opts),
  -                     listener = Listener,
  -                     client   = Client,
  -                     next     = ?HANDSHAKE}).
  +    handshake(#state{client = Client,
  +                     proxy  = amqpoxy:format_ip(Opts),
  +                     stage  = ?HANDSHAKE}).
   
   %%
   %% Private
  
positive.code:                                 server_properties = [],
                                  locales = <<"en_US">>},
      ok = rabbit_writer:internal_send_command(Client, 0, Start, Protocol),
      handshake(State#state{protocol = Protocol, next = ?HEADER}).
  
  -spec decode(pos_integer(), binary(), rabbit_framing:protocol()) -> binary().
  %% @private
  
negative.code: 
  -include("include/amqpoxy.hrl").
  
  %% AMQP frame sizes
  -define(HANDSHAKE, 8).
  -define(HEADER, 7).
  