Accessing mysql2 SELECT results for Websocket Communication