wamp implementation in erlang, both peer and router