anchor.diff:  %% Start a server to listen on port 1080, which later will establish connection from  SOCKS client
  +
  +%% TODO Support authentication
  +%% TODO Support UDP
  +%% TODO Support Bind
   
   -module(entry).
   -export([start_socks/0,start_socks/1]).
  
positive.code: -define(SOCKS_PORT,1080).
  -define(CONNECTION_TIMEOUT, 20000).
  -define(CACHE_EXPIRED,3600).
  
  -type state() :: init|hello|connected.
  
  
negative.code:                     store_ip(URL, Addr),
                      Addr;
                  error ->
                      error_msg("Failed to get ip address, URL = ~p",[URL]),
                      {{},0}
              end;
          IP -> IP
  