Erlang network protocol library