anchor.diff:  
   -export([start_link/5
            ,resize_msg_buffer/2
  +         ,set_target_send_size/2
           ]).
   
   -export([valid_uri/1
  
positive.code:     {next_state, StateName, State}.
  
  %% @private
  handle_sync_event({resize_msg_buffer, NewSize}, _From, StateName,
                    State = #state{buf = Buf})
    when is_integer(NewSize), NewSize > 0 ->
  
negative.code:         ({msg, MData}) ->
              {frame, Frame(MData)}
      end.
  
  target_send_size() ->
      case get(target_send_size) of
          Size when is_integer(Size),
                    Size > 0 ->
              Size;
          _ ->
              logplex_app:config(tcp_drain_target_bytes,
                                 ?TARGET_SEND_SIZE)
      end.
  