websockets framework toghter with cowboy as described in book