anchor.diff:      Timeout = epoch() + Connection#apns_connection.expires_conn,
       case open_out(Connection) of
         {ok, Socket} -> 
  -		   handle_cast(Msg, State#state{out_socket=Socket, out_expires = Timeout});
  +		   handle_cast(Msg, State#state{out_socket=Socket, apns_recv = 0, out_expires = Timeout});
         {error, Reason} -> 
   		   InfoLoggerFun("[ ~p ] ReReconnecting to APNS... ~p", [Name, Reason]),
   		   handle_cast(Msg, State)
  
positive.code:           end,
            case erlang:size(Rest) of
              0 -> %% It was a whole package
                {noreply, State#state{out_buffer = <<>>, out_expires=0}};
              _ ->
                handle_info(
                  {ssl, SslSocket, Rest}, State#state{out_buffer = <<>>, out_expires=0})
  
negative.code:                 out_buffer = <<>> :: binary(),
                  queue             :: pid(),
                  out_expires       :: integer(),
  					 apns_recv			= 0,
                  error_logger_fun  :: fun((string(), list()) -> _),
                  info_logger_fun   :: fun((string(), list()) -> _),
                  name              :: atom() | string()}).
  