adding xcap support using twisted
almost ready for demo