anchor.diff:  	socket :: any(),
   	transport :: atom(),
   	client :: pid(),
  +	clientmon :: reference(),
   	aes_key :: binary(),
   	aes_vector :: binary(),
   	netstring_cont = 10 :: integer() | term()
  
positive.code: 		{ "can send via ssl",
  			fun() ->
  				meck:expect(fake_transport, send, fun(_Socket, Message) ->
  					%% FIXME: update to use envelope record
  					Expected = <<"14:{\"foo\":\"Bar!\"},">>,
  					?assertEqual(Expected, Message)
  				end),
  				State = #state{ socket = fake_socket, transport = fake_transport},
  				pre_channels_proto:handle_cast({send, [{foo, <<"Bar!">>}]}, State),
  				?assert(meck:validate(fake_transport))
  			end
  		},
  
negative.code: 					IV = crypto:rand_bytes(16),
  					{Key, IV}
  				end),
  				State = #state{ transport = fake_transport },
  				Data = netstring:encode(<<"{\"channel\":\"control\",\"type\":\"request\",\"contents\":{\"cookie\":\"foobar\"}}">>),
  				pre_channels_proto:handle_info({tcp, fake_socket, Data}, State),
  				?assert(meck:validate(pre_client))
  			end
  		}]
  	end
  