HTTP request rewrite engine, written in Erlang