STOMP client rewrite in Elixir