Erlang server for pusher app