a pure Erlang implementation of TNetStrings