Removed node_modules, removed client array from server, updated bbjs, added connection loss handling state.