supports 2 websocket connections. Tests invalid, need to write better test