anchor.diff:  
   -spec listen([{port, Port::ip_port()} | {certfile, CertPath::string()}
   	| {keyfile, KeyPath::string()} | {password, Password::string()}])
  -	-> {ok, LSocket::sslsocket()} | {error, Reason::atom()}.
  +	-> {ok, LSocket::ssl:sslsocket()} | {error, Reason::atom()}.
   listen(Opts) ->
   	{port, Port} = lists:keyfind(port, 1, Opts),
   	{certfile, CertFile} = lists:keyfind(certfile, 1, Opts),
  
positive.code: -export([name/0, messages/0, listen/1, accept/2, recv/3, send/2, setopts/2,
  	controlling_process/2, peername/1, close/1]). %% API.
  
  -opaque sslsocket() :: term().
  
  -include_lib("kernel/include/inet.hrl").
  
  %% API.
  
negative.code: 			{error, Reason}
  	end.
  
  -spec recv(Socket::ssl:sslsocket(), Length::integer(), Timeout::timeout())
  	-> {ok, Packet::term()} | {error, Reason::closed | atom()}.
  recv(Socket, Length, Timeout) ->
  	ssl:recv(Socket, Length, Timeout).
  
  -spec send(Socket::ssl:sslsocket(), Packet::iolist())
  	-> ok | {error, Reason::atom()}.
  send(Socket, Packet) ->
  	ssl:send(Socket, Packet).
  
  -spec setopts(Socket::ssl:sslsocket(), Opts::list(term()))
  	-> ok | {error, Reason::atom()}.
  setopts(Socket, Opts) ->
  	ssl:setopts(Socket, Opts).
  
  -spec controlling_process(Socket::ssl:sslsocket(), Pid::pid())
  	-> ok | {error, Reason::closed | not_owner | atom()}.
  controlling_process(Socket, Pid) ->
  	ssl:controlling_process(Socket, Pid).
  
  -spec peername(Socket::ssl:sslsocket())
  	-> {ok, {Address::ip_address(), Port::ip_port()}} | {error, atom()}.
  peername(Socket) ->
  	ssl:peername(Socket).
  
  -spec close(Socket::ssl:sslsocket()) -> ok.
  close(Socket) ->
  	ssl:close(Socket).
  
  %% Internal.
  
  -spec ssl_accept(CSocket::ssl:sslsocket(), Timeout::timeout())
  	-> {ok, Socket::ssl:sslsocket()} | {error, Reason::closed | timeout | atom()}.
  ssl_accept(CSocket, Timeout) ->
  	case ssl:ssl_accept(CSocket, Timeout) of
  		ok ->
  