anchor.diff:  %% cited in 'LICENSE.txt'.
   %% @end
   %% ===================================================================
  -%% @doc: @todo: write me !
  +%% @doc: This module provides raw inter-provider communication layer (based on WebSocket Secure)
   %% @end
   %% ===================================================================
   -module(provider_proxy_con).
  --author("RoXeon").
  +-author("Rafal Slota").
   
   
   -include("communication_protocol_pb.hrl").
  
positive.code:             ok
      end.
  
  get_msg_id() ->
      ensure_running(),
      exec(get_msg_id).
  
  send(HostName, MsgId, Data) ->
      ensure_running(),
      exec({send, HostName, MsgId, Data}).
  
  
  main_loop() ->
      main_loop(#ppcon_state{}).
  main_loop(#ppcon_state{msg_id = CurrentMsgId, connections = Connections, inbox = Inbox} = State) ->
      NewState =
  
  
negative.code:     end.
  
  
  %% connect/3
  %% ====================================================================
  %% @doc Connects to cluster with given host, port and transport options. Returns socket's handle.
  %%      Note that some options may conflict with websocket_client's options so don't pass any options but certificate configuration.
  -spec connect(Host :: string(), Port :: non_neg_integer(), Opts :: [term()]) -> {ok, Socket :: pid()} | {error, timout} | {error, Reason :: any()}.
  %% ====================================================================
  connect(Host, Port, Opts) when is_atom(Host) ->
  