FINALLY HAVE WEBSOCKETS WORKING BACK AND FORTH FROM GLASS