// register (Structr) transaction listener
TransactionCommand.registerTransactionListener(syncController);
factory.getPolicy().setIdleTimeout(61000);
factory.setCreator(new StructrWebSocketCreator(syncController, gson, config.getDefaultIdProperty(), config.getAuthenticator()));
factory.register(StructrWebSocket.class);
// Disable compression (experimental features)
factory.getExtensionFactory().unregister("x-webkit-deflate-frame");
factory.getExtensionFactory().unregister("permessage-deflate");