WAMP implementation in Erlang, both peer and router