Added support for promises in sofia2 node API