anchor.diff:    spawn(fun() -> (StateData#data.cb#callbacks.on_close)(undefined) end).
   
   %% @hidden
  -code_change(OldVsn, StateName, StateData, Extra) ->
  +code_change(_OldVsn, StateName, StateData, _Extra) ->
     {ok, StateName, StateData}.
   
   %%%%%%%%%%%%%%%%%%%%%
  
positive.code:       {stop, failed_handshake, StateData}
    end;
  
  handle_info({tcp, Socket, Data}, open, StateData) ->
    {Messages, State} = case StateData#data.fragmented_message of
      undefined ->
        {wsock_message:decode(Data, []), StateData};
  
negative.code:   NewStateData = process_messages(Messages, State),
    {next_state, open, NewStateData};
  
  handle_info({tcp, _Socket, Data}, closing, StateData) ->
    [Message] = wsock_message:decode(Data, []),
    case Message#message.type of
      close ->
  