anchor.diff:        {stop, failed_handshake, StateData}
     end;
   
  -handle_info({tcp, Socket, Data}, open, StateData) ->
  +handle_info({tcp, _Socket, Data}, open, StateData) ->
     {Messages, State} = case StateData#data.fragmented_message of
       undefined ->
         {wsock_message:decode(Data, []), StateData};
  
positive.code:   spawn(fun() -> (StateData#data.cb#callbacks.on_close)(undefined) end).
  
  %% @hidden
  code_change(OldVsn, StateName, StateData, Extra) ->
    {ok, StateName, 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 ->
  