Added class for handling multiple websocket connections