Added base work for connecting to websocket server & receiving events