simple proxy implemented with erlang