adding callbacks to Lighting_Web_Socket